From: Vikram D. <vik...@ho...> - 2003-05-16 15:51:20
|
Could this error "{'desc': 'Invalid credentials', 'info': >>''}" come if we are not using TLS/SSL ? and the ldap server is configured >>just to handle TLS/SSL ? Thanks ! Vikram Dham >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. > _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail |