hotani wrote:
This fixed it!
http://peeved.org/blog/2007/11/20/
By adding this line after 'import ldap', I was able to search from the
root level:
ldap.set_option(ldap.OPT_REFERRALS, 0)
Uumh, yes. I'm always switching off OpenLDAP client lib's internal
referral chasing.
But be prepared to also handle (at least ignore) the search
continuations (LDAP URL) in the search results you will probably
receive. These are not regular search entries.
Ciao, Michael.
--
http://mail.python.org/mailman/listinfo/python-list