Apache DS ignores attrsonly

Michael Ströder michael at stroeder.com
Mon Jul 13 11:20:44 CEST 2009

Thorsten Kampe wrote:
> [4]>>> connection.search_s('ou=system', ldap.SCOPE_SUBTREE, 
> filterstr='(cn=*)', attrlist = ['cn'], attrsonly = True)

Just a wild guess: Could you please try again with attrsonly=1. Note
that this API has its roots in Python 1.x times where there was no
Boolean True/False type. It would be worth handling that gracefully though.

Ciao, Michael.

More information about the python-ldap mailing list