python-ldap + webware + solaris odd problem

Michael Ströder michael at stroeder.com
Sat Mar 5 23:52:00 CET 2005


Joe Pasko wrote:
> 
> I've tried  solaris 8, solaris 10, and suse 9, all with the same
> results. Works under linux under webware, pukes on the bind under
> solaris.

Joe, unfortunately without knowing your system(s) I can only give some 
general hints:

Make sure the very same Python interpreter is used for webware and for 
your test programs using python-ldap.

Make sure there is no mess with the LDAP libraries shipped with Solaris 
(which can't be used with python-ldap).

Use arguments trace_level and trace_file for ldap.initialize() or 
ldap.open() to let python-ldap write a detailed trace log with all the 
args passed to its API.

> SERVER_DOWN: {'desc': "Can't contact LDAP server"}
 > [..]
>                self.l = ldap.open( 'MYHOST.mydomain.com', 389 )

Is the server running at ldap://MYHOST.mydomain.com:389 is really 
reachable by the Solaris system?

Ciao, Michael.



More information about the python-ldap mailing list