LDAP authentication and adding users to a repository

0
I have installed GitStack on Server 2008, and configured it for AD authentication via LDAP. The settings page reports that the LDAP settings work correctly. However, when I try to add a user to a repository I just created, the “Add user” dialog does not show any users.
Tags: asked June 27, 2012
tma_gh
0

3 Answers

0
Did you follow the documentation on git and active directory authentication ? What happens when you click on "Sync saved settings with ldap"?
0
poiuytrez: I had overlooked the 'Sync' step. However, when I do that, I get: Exception at /rest/settings/authentication/ldap/sync/ 'sAMAccountName' Request Method: GET Request URL: http://turingtest/rest/settings/authentication/ldap/sync/?_=1340888525054 Django Version: 1.4 Python Executable: C:\GitStack\apache\bin\httpd.exe Python Version: 2.7.2 Python Path: ['C:\\GitStack\\app', 'C:\\GitStack\\python\\lib\\site-packages\\rsa-3.0.1-py2.7.egg', 'C:\\GitStack\\python\\lib\\site-packages\\pyasn1-0.1.3-py2.7.egg', 'C:\\GitStack\\python\\lib', 'C:\\GitStack\\python\\python27.zip', 'C:\\GitStack\\python\\DLLs', 'C:\\GitStack\\python\\lib\\plat-win', 'C:\\GitStack\\python\\lib\\lib-tk', 'C:\\GitStack\\apache\\bin', 'C:\\GitStack\\python', 'C:\\GitStack\\python\\lib\\site-packages'] Server time: Thu, 28 Jun 2012 15:02:08 +0200 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'gitstack', 'rest') Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Traceback: File "C:\GitStack\python\lib\site-packages\django\core\handlers\base.py" in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File "C:\GitStack\app\rest\views.py" in rest_settings_authentication_ldap_sync 608. UserLdap.sync() Exception Type: Exception at /rest/settings/authentication/ldap/sync/ Exception Value: 'sAMAccountName' Request information: GET: _ = u'1340888525054'
tma_gh
0
0
Could you send us a screenshot of the ldap configuration panel?

Your Answer

Please login to post questions.