Ask Your Question

snaf's profile - activity

2019-09-16 03:07:27 -0500 received badge  Notable Question (source)
2018-09-25 06:10:43 -0500 received badge  Popular Question (source)
2018-02-08 21:21:25 -0500 received badge  Popular Question (source)
2016-03-03 01:22:36 -0500 received badge  Famous Question (source)
2015-07-28 10:49:30 -0500 received badge  Famous Question (source)
2015-02-05 09:35:26 -0500 received badge  Editor (source)
2015-02-05 09:34:52 -0500 asked a question How te set up ldap auth

Hello, I tried several solutions but no one helped me. I installed python-ldap module, and changed settings/LDAP_SETTINGS settings in the next way

LDAP protocol version  = version 3
LDAP URL = ldap://10.100.2.148:389
LDAP encoding = utf-8
Base DN (distinguished name) = DC=example,DC=com
User search filter template = (%s=%s)
UserID/login field = sAMAccountName
"Common Name" = blank
"Common Name" field format = First name, Last name
Given (First) name = givenName
Surname (last) name = sn
LDAP Server EMAIL field name = mail

I also added to the settings.py :
LDAP_LOGIN_DN = 'askbot'
LDAP_PASSWORD = 'My_secure_password'

But ldap authentications is not working. I tryed to find "askbot.deps.django_authopenid.backends.ldap_authenticate" function to insert a break point, but I haven't found it.

Version of askbot = 0.7.50 Can someone show correct settings for ldap?

2015-02-05 09:32:39 -0500 asked a question How to set up ldap authentication for askbot?

Hello, I tried several solutions but no one helped me. I installed python-ldap module, and changed settings/LDAP_SETTINGS settings in the next way LDAP protocol version = version 3 LDAP URL = ldap://10.100.2.148:389 LDAP encoding = utf-8 Base DN (distinguished name) = DC=example,DC=com User search filter template = (%s=%s) UserID/login field = sAMAccountName "Common Name" = blank "Common Name" field format = First name, Last name Given (First) name = givenName Surname (last) name = sn LDAP Server EMAIL field name = mail

I also added to the settings.py : LDAP_LOGIN_DN = 'askbot' LDAP_PASSWORD = 'My_secure_password'

But ldap authentications is not working. I tryed to find "askbot.deps.django_authopenid.backends.ldap_authenticate" function to insert a break point, but I haven't found it.

Can someone show correct settings for ldap?