Apache DS ignores attrsonly

Thorsten Kampe thorsten at thorstenkampe.de
Mon Jul 13 12:17:22 CEST 2009


* Michael Ströder (Mon, 13 Jul 2009 11:20:44 +0200)
> 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.

Same result.

Thorsten





More information about the python-ldap mailing list