Django, LDAP & 'NSS Certificate DB' unable to login

Posted by Pepi on Server Fault See other posts from Server Fault or by Pepi
Published on 2012-09-23T06:01:39Z Indexed on 2012/09/24 9:39 UTC
Read the original article Hit count: 424

Filed under:
|
|

I am trying to connect to a remote ldap server. After the authenticate(), the terminal asks me about a pin, password of pass phrase for security token 'NSS Certificate DB'. What is this?

The LDAP server OS is CentOS. Django + django-auth-ldap


In [1]: from django_auth_ldap.backend import LDAPBackend

In [2]: ldap = LDAPBackend()

In [3]: from django_auth_ldap.backend import LDAPBackend

In [4]: ldap.authenticate('username', 'password')
Please enter pin, password, or pass phrase for security token 'NSS Certificate DB':

P.S. The connection is over SSL

© Server Fault or respective owner

Related posts about django

Related posts about ldap