ldap.DECODING_ERROR in ldap.dn.str2dn with python2.4 on amd64

2010-03-12 Thread Arvid Requate
Hello, we had a problem with ldap.dn.str2dn showing instable behavior and throwing ldap.DECODING_ERROR in python2.4 Debian Lenny (amd64). It seems that using PyArg_ParseTuple with format string z# and saving the length of the string directly into the berval member bv_len does not store a

Re: ldap.DECODING_ERROR in ldap.dn.str2dn with python2.4 on amd64

2010-03-12 Thread Michael Ströder
Arvid Requate wrote: we had a problem with ldap.dn.str2dn showing instable behavior and throwing ldap.DECODING_ERROR in python2.4 Debian Lenny (amd64). It seems that using PyArg_ParseTuple with format string z# and saving the length of the string directly into the berval member bv_len does

Re: edirectory question

2010-03-12 Thread Michael Ströder
Yeargan, Yancey wrote: Your question is really about Novell eDirectory, not the Python LDAP module; That's definitely related to Novell eDirectory. I vaguely remember that some eDirectory allowed searching with an empty search root. Not sure but worth a short test. Ciao, Michael.