Browse Source

HUE-1082 [useradmin] Ldap Sync Users fails

Fixed a minor issue in ldap_access.py to fix user ldap sync.
Christopher Conner 12 years ago
parent
commit
e8e9369
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/useradmin/src/useradmin/ldap_access.py

+ 1 - 1
apps/useradmin/src/useradmin/ldap_access.py

@@ -131,7 +131,7 @@ class LdapConnection(object):
 
         ldap_info = {
           'dn': dn,
-          'name': data[user_name_attr][0]
+          'username': data[user_name_attr][0]
         }
 
         if 'givenName' in data: