changeset 831:b9153b37c47f

added OpenLDAP binddn sample to sample config
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 11 Jun 2006 20:58:20 +0200
parents e9e09bf11c82
children 0710dd481945
files wiki/config/more_samples/ldap_smb_farmconfig.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/config/more_samples/ldap_smb_farmconfig.py	Sun Jun 11 20:03:31 2006 +0200
+++ b/wiki/config/more_samples/ldap_smb_farmconfig.py	Sun Jun 11 20:58:20 2006 +0200
@@ -87,7 +87,8 @@
     #ldap_bindpw = 'secret'
     
     #or we can use the username and password we got from the user:
-    ldap_binddn = '%(username)s@example.org' # DN we use for first bind
+    ldap_binddn = '%(username)s@example.org' # DN we use for first bind (AD)
+    #ldap_binddn = 'cn=admin,dc=example,dc=org' # DN we use for first bind (OpenLDAP)
     ldap_bindpw = '%(password)s' # password we use for first bind
     
     ldap_base = 'ou=SOMEUNIT,dc=example,dc=org' # base DN we use for searching