asked 2012-01-24 04:11:26 -0500benstokes
I can see a few people seem to have had success setting up askbot to authenticate against active directory but I'm having trouble with it, could anyone clarify how these fields should be used:
LDAP service provider name: I tried "Active Directory"
URL for LPAP service: I tried "ldap://10.23.2.1:389"
Explain how to change pwd: left blank
With these settings I get an Internal Server Error, and nothing inserted into the log.
I got it working here: https://github.com/monkut/askbot-devel
I'm not sure if this will cover all LDAP configurations, but it's working for me now. You'll need to adjust the appropriate login configuration items so that the openauth items do NOT display, and to setup the ldap configuration values in settings/EXTERNAL_KEYS.
Only three files need to be updated:
answered 2012-01-27 04:10:35 -0500koni
I am using the 3 files from above, but I get: NameError at /account/signin/ global name 'ldap_provider_name' is not defined
Did install pip install python-ldap
answered 2012-06-22 05:25:50 -0500enrique
Koni's answer does not solve the problem because it does local login, not ldap.
I can't find any good explanation of the use of ldap on the site. Does it work or not? (I think not)
answered 2012-07-09 14:43:36 -0500Erick Almeida
Hi, I'm having trouble with LDAP auth. I'm geting this error:
/usr/local/lib/python2.7/dist-packages/askbot-0.7.43-py2.7.egg/askbot/deps/django_authopenid/forms.py TIME: 2012-07-09 14:25:17,267 MSG: forms.py:clean:77 unknown provider name
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.create your Q&A site
Asked: 2012-01-24 04:11:26 -0500
Seen: 666 times
Last updated: Jul 09 '12