summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2006-10-16 21:33:32 +0000
committerpb1dft <pb1dft@ampache>2006-10-16 21:33:32 +0000
commitfc27f3c7f30c06c9517772cf71976437cbac6807 (patch)
treeb1673ce9511ba458b92b16ebdcc80199ca356529 /config
parentbe194f4f72443307998816293985831926460cce (diff)
downloadampache-fc27f3c7f30c06c9517772cf71976437cbac6807.tar.gz
ampache-fc27f3c7f30c06c9517772cf71976437cbac6807.tar.bz2
ampache-fc27f3c7f30c06c9517772cf71976437cbac6807.zip
Some major perfomance issues on large LDAP servers
Diffstat (limited to 'config')
-rw-r--r--config/ampache.cfg.php.dist12
1 files changed, 10 insertions, 2 deletions
diff --git a/config/ampache.cfg.php.dist b/config/ampache.cfg.php.dist
index cfe5d409..84574391 100644
--- a/config/ampache.cfg.php.dist
+++ b/config/ampache.cfg.php.dist
@@ -310,6 +310,13 @@ refresh_limit = "60"
# ldap_filter = "uid"
# ldap_filter = "sAMAccountName"
+# LDAP objectclass it's required so if you don't know use *
+# OpanLDAP objectclass = "*"
+# MAD objectclass = "organizationalPerson"
+# DEFAULT null
+#ldap_objectclass = "*"
+#ldap_objectclass = "organizationalPerson"
+
# if this is the case, fill these in here:
# DEFAULT: null
#ldap_username = ""
@@ -325,8 +332,7 @@ refresh_limit = "60"
# This is the search dn used to find your user, uid=username is added on to
# This string
# DEFAULT: null
-#For OpenLDAP use ldap_search_dn = "ou=People,dc=yoursubdomain,dc=yourdomain,dc=yourtld?uid?sub?(objectclass=*)"
-#For MAD use ldap_search_dn = "ou=People,dc=yoursubdomain,dc=yourdomain,dc=yourtld"
+#ldap_search_dn = "ou=People,dc=yoursubdomain,dc=yourdomain,dc=yourtld"
# This is the address of your ldap server
# DEFAULT: null
@@ -334,6 +340,8 @@ refresh_limit = "60"
# Specify where in your ldap db the following fields are stored:
# (comment out if you don't have them)
+# OpenLDAP: ldap_name_field = "cn"
+# MAD ldap_name_field = "displayname"
# DEFAULT: [none]
#ldap_email_field = "mail"
#ldap_name_field = "cn"