From 78167c02518ff9d757741f0e8df524da300d067d Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sat, 14 Oct 2006 17:29:07 +0000 Subject: removed extra lines from ajax, down to 86, updated ajax calls, added ldap auth --- config/ampache.cfg.php.dist | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'config') diff --git a/config/ampache.cfg.php.dist b/config/ampache.cfg.php.dist index 58317c59..da19b161 100644 --- a/config/ampache.cfg.php.dist +++ b/config/ampache.cfg.php.dist @@ -63,6 +63,15 @@ sess_cookielife = 0 # DEFAULT: 0 sess_cookiesecure = 0 +# Auth Methods +# This defines which auth methods vauth will attempt +# to use and in which order, if auto_create isn't enabled +# The user must exist locally as well +# DEFAULT: mysql +# VALUES: mysql,ldap +#auth_methods = "ldap" +auth_methods = "mysql" + ###################### # Program Settings # ###################### @@ -284,6 +293,45 @@ site_charset = iso-8859-1 # Possible Values: Int > 5 refresh_limit = "60" +########################################################## +# LDAP login info (optional) # +########################################################## + +# This setting will silently create an ampache account +# for anyone who can login using ldap (or any other login +# extension) +# DEFAULT: false +#auto_create = "false" + +# Some LDAP servers won't let you search for the username +# without logging in with an application user account. +# if this is the case, fill these in here: +# DEFAULT: null +#ldap_username = "" +#ldap_password = "" + +# NOT YET IMPLIMENTED!! +# This option checks to see if the specified user is in +# a specific ldap group, allowing you to give access based +# on group membership +# DEFAULT: null +#ldap_require_group = "cn=yourgroup,ou=yourorg,dc=yoursubdomain,dc=yourdomain,dc=yourtld" + +# This is the search dn used to find your user, uid=username is added on to +# This string +# DEFAULT: null +#ldap_search_dn = "ou=People,dc=yoursubdomain,dc=yourdomain,dc=yourtld?uid?sub?(objectclass=*)" + +# This is the address of your ldap server +# DEFAULT: null +#ldap_url = "" + +# Specify where in your ldap db the following fields are stored: +# (comment out if you don't have them) +# DEFAULT: [none] +#ldap_email_field = "mail" +#ldap_name_field = "cn" + ########################################################## # Public Registration settings, defaults to disabled # ########################################################## -- cgit