From: <mi...@st...> - 2003-05-16 15:44:09
|
Vikram Dham wrote: > > I am trying to connect to our schools ldap server using simple.py but I > am getting the error "{'desc': 'Invalid credentials', 'info': ''}" You are providing the wrong password during simple bind. > Further what all is required > to be done if I need to use TLS or SSL with LDAP on Solaris 9 ? 1. You have to build the OpenLDAP libs --with-tls against OpenSSL. 2. python-ldap has to be build with SSL support by adding 'ssl crypto' to line libs of setup.cfg. 3. See Demo/initialize.py for examples. Ciao, Michael. |