Re: Egg news :-)

2009-07-13 Thread Torsten Kurbad
Hi list, JFI: during the weekend I had the opportunity to confirm that the statically linked Mac OS X egg for Python 2.6 works perfectly on a freshly installed OS X 10.4.11 PPC. Not even XCode is needed. Now I'm still trying to figure how to get cyrus-sasl working properly for the Win32 eggs. Wal

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 -A" also works against Apache DS. The

Re: Apache DS ignores attrsonly

2009-07-13 Thread Michael Ströder
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 -A" also works against Apache DS. The question is still: is > that a Python-LDAP or Apache DS bug? It

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 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

Re: Apache DS ignores attrsonly

2009-07-13 Thread Michael Ströder
Michael Ströder wrote: > 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 wher

Re: Apache DS ignores attrsonly

2009-07-13 Thread Michael Ströder
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

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,