ldap package question

2009-03-17 Thread John Gordon
I'm using the ldap package to connect to an ldap server and run a query. Very simple code, along these lines: con = ldap.initialize(uri) con.simple_bind_s(user, password) results = con.search_s(group, ldap.SCOPE_SUBTREE, filter, attrs) for r in results: # inspect the results I'm

Re: ldap package question

2009-03-17 Thread Michael Ströder
John Gordon wrote: I'm using the ldap package to connect to an ldap server and run a query. Very simple code, along these lines: con = ldap.initialize(uri) con.simple_bind_s(user, password) results = con.search_s(group, ldap.SCOPE_SUBTREE, filter, attrs) for r in results: #