Apache DS ignores attrsonly

2009-07-13 Thread Thorsten Kampe
[Python 2.6.2, python-ldap 2.3.8, Apache DS 1.5.4] Hi, not sure whether this is an Apache DS or Python-LDAP bug: Apache DS replies with values although I specifically request it not to: [1]>>> import ldap [2]>>> connection = ldap.initialize('ldap://') [3]>>> connection.simple_bind_s('uid=admin,

Re: Apache DS ignores attrsonly

2009-07-13 Thread Thorsten Kampe
* 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

Re: Apache DS ignores attrsonly

2009-07-13 Thread Thorsten Kampe
* Michael Ströder (Mon, 13 Jul 2009 11:51:29 +0200) > Which versions of Python and python-ldap are you using? Python 2.6.2, python-ldap 2.3.8, Apache DS 1.5.4 > I've tested it with my local OpenLDAP server with Python 2.6 and > python-ldap 2.3.8 built against OpenLDAP RE24 libs: > > >>> l.searc

Re: Apache DS ignores attrsonly

2009-07-13 Thread Thorsten Kampe
* Michael Ströder (Mon, 13 Jul 2009 13:23:26 +0200) > Thorsten Kampe wrote: > > It does work against eDirectory and Active Directory (as mentioned). > > ...and OpenLDAP. So the likelihood is very high that python-ldap does > not have a bug. > > > "ldapsearch