[sysadmin-bin] Fix the wrong DN



commit 261617192eb0df086b9ef4f8176076ed9cb2284f
Author: Andrea Veri <av gnome org>
Date:   Tue Oct 14 13:07:55 2014 +0200

    Fix the wrong DN

 create-auth |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/create-auth b/create-auth
index acc5b70..0adcc80 100755
--- a/create-auth
+++ b/create-auth
@@ -80,7 +80,7 @@ def _get_user_data_from_ldap(filter):
     try:
         searchattrs = ('uid', 'homeDirectory', 'ipaSshPubKey',
                        'uidNumber', 'gidNumber')
-        persona_data = l.search_s ("ou=people,dc=gnome,dc=org",
+        persona_data = l.search_s ("cn=users,cn=accounts,dc=gnome,dc=org",
                                    ldap.SCOPE_SUBTREE, filter, searchattrs)
     except ldap.LDAPError, e:
         print >>sys.stderr, e


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]