'desc': 'Invalid credentials', 'info': :(

Michael Ströder michael at stroeder.com
Fri May 16 17:43:48 CEST 2003

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.

More information about the python-ldap mailing list