From: Peter Palfrader Date: Mon, 5 Mar 2012 10:28:03 +0000 (+0100) Subject: Introduce BaseBaseDN which is the real base dn X-Git-Tag: userdir-ldap-0.3.85~81 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=01bbfdac62242c9dcb6d77cd2f71f6819e731cb3 Introduce BaseBaseDN which is the real base dn --- diff --git a/debian/changelog b/debian/changelog index 6feea47..901ef21 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,12 +14,14 @@ userdir-ldap (0.3.XXX) UNRELEASED; urgency=low but instead re-use the domain from email-append. - now preserve server side modifcation times when rsyncing data. * userdir_ldap.py: read auth password from environment if set. + * Introduce BaseBaseDN which is the real base dn. BaseDN itself + has historically been used as the root of the user tree. [ Stephen Gran ] * Fix deprecation warnings for sha module by using hashlib module instead * ud-fingerserv: update Net::LDAP import - -- Peter Palfrader Mon, 05 Mar 2012 11:17:36 +0100 + -- Peter Palfrader Mon, 05 Mar 2012 11:27:32 +0100 userdir-ldap (0.3.79) unstable; urgency=low diff --git a/userdir-ldap.conf b/userdir-ldap.conf index 3c45fe3..5b66fd0 100644 --- a/userdir-ldap.conf +++ b/userdir-ldap.conf @@ -10,6 +10,7 @@ localsyncon = "*draghi*"; ldaphost = "db.debian.org"; usessl = True; basedn = "ou=users,dc=debian,dc=org"; +basebasedn = "dc=debian,dc=org"; hostbasedn = "ou=hosts,dc=debian,dc=org"; adminuser = "admin"; diff --git a/userdir_ldap.py b/userdir_ldap.py index 9972136..b0d06b5 100644 --- a/userdir_ldap.py +++ b/userdir_ldap.py @@ -52,6 +52,11 @@ try: except AttributeError: UseSSL = False; +try: + BaseBaseDn = ConfModule.basebasedn; +except AttributeError: + BaseBaseDn = BaseDn + # Break up the keyring list userdir_gpg.SetKeyrings(ConfModule.keyrings.split(":"))