rh0dium wrote: > > ldap_result_id = cnx.search_s(baseDN, searchScope, searchAttrs, retrieveAttrs)
You are already using the synchronous search method which indeed return the search results. So this should read: result_data=cnx.search_s(baseDN,searchScope,searchAttrs,retrieveAttrs) > result_type, result_data = cnx.result(ldap_result_id, 0) You don't need this if you just want to use synchronous search method. Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list