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
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:
#