From 1f78a1b8b161f3b2058d1c12dc3474341a14a205 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Tue, 10 Jul 2012 16:48:21 -0400 Subject: [PATCH] Revert debug code that showed all LDAP attributes 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 --- tools/patron-load/ldap_osrf_sync | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/patron-load/ldap_osrf_sync b/tools/patron-load/ldap_osrf_sync index 658f20ea6d..dadd143de9 100755 --- a/tools/patron-load/ldap_osrf_sync +++ b/tools/patron-load/ldap_osrf_sync @@ -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) -- 2.11.0