Re: Traceback with "No such object" although there is indeed such an object (works with "ldapsearch")

2007-12-19 Thread Martin Winkler
Please ignore my previous postings. My error was so trivial... I had different ldap-bases in my 2 examples. everything works fine now. sorry to have bothered you all. Martin - SF.Net email is sponsored by: Check out the ne

Re: Traceback with "No such object" although there is indeed such an object (works with "ldapsearch")

2007-12-19 Thread Martin Winkler
Sorry, forgot to mention some facts: python-ldap version: >>> ldap.VERSION 2 Python Version: Python 2.3.4 [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] $ ldapsearch -VV ldapsearch: @(#) $OpenLDAP: ldapsearch 2.2.13 (May 3 2007 01:38:21) $ [EMAIL PROTECTED]:/builddir/build/BUILD/openldap-2.2.1

Traceback with "No such object" although there is indeed such an object (works with "ldapsearch")

2007-12-19 Thread Martin Winkler
Hi all, Doing an ldapsearch in the shell works, but the same search in python does not. I tried for a couple of hours already to no avail, so I write here hoping that one of you might be able to give me help: Working example (in bash shell): $ ldapsearch -x -LLL "