That did the trick. It must be a bug in the older python-ldap code  
that Novell distributes with SLES 10. OpenLDAP 2.3.32 is already  
there, as well as SASL 2.1.21, so building python-ldap was easy.  
Since my organization has a support contract with Novell, I will open  
a support request and let them know of this issue.

In case anyone else runs into this, RPM complained about a missing  
dependency of "libldap.so.2". I'm not sure why, since I can see it  
in /usr/lib, but I just used the --nodeps parameter to force the  
install. I also relocated the files listed in the RPM from /usr/local/ 
lib to /usr/lib to replace the files supplied with SLES 10.

rpm -Uvh --nodeps --relocate /usr/local/lib/python2.4/=/usr/lib/ 
python2.4/ python-ldap-2.3.1-0.i586.rpm

Thanks Michael! Sorry to waste your time.

Yancey



On Jan 30, 2008, at 2:13 AM, Michael Ströder wrote:

> Yeargan Yancey wrote:
>> python-ldap-2.0.11-14.2
>
> Sorry, I'm not keen on supporting this ancient version anymore.  
> This has
> been released almost two years ago and I'm sure there were bugs in
> there. Any chance you can build 2.3.1 from source? You can generate a
> RPM with
>
> python setup.py bdist_rpm
>
> and install that.
>
> But you need to upgrade to OpenLDAP 2.3 for python-ldap too. Maybe it
> works to install this packages:
>
> http://download.opensuse.org/repositories/OpenLDAP/SLE_10/i586/
>
> For building python-ldap you'd also need package openldap2-devel (and
> cyrus-sasl-devel if SASL support is wanted).
>
> Ciao, Michael.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to