Revert debug code that showed all LDAP attributes
authorDan Scott <dscott@laurentian.ca>
Tue, 10 Jul 2012 20:48:21 +0000 (16:48 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 7 May 2013 18:57:49 +0000 (14:57 -0400)
Not that I mind verbosity, but unless you request the custom attributes
specifically, you only get the default LDAP attributes. And I'm more
interested in the custom ones.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/patron-load/ldap_osrf_sync

index 658f20e..dadd143 100755 (executable)
@@ -315,7 +315,6 @@ def find_ldap_users(con, ldap_filter, attributes, auth):
     base_dn = 'o=lul'
     search_scope = ldap.SCOPE_SUBTREE
     results = []
-    attributes = None
 
     try:
         result_id = con.search(base_dn, search_scope, ldap_filter, attributes)