ensky / taiga-contrib-ldap-auth

Taiga plugin for LDAP authentication
http://taiga.io
GNU Affero General Public License v3.0
54 stars 37 forks source link

Unable to Log-In to Taiga-Vagrant with LDAP Plug-In #22

Closed leemcgowan3988 closed 9 years ago

leemcgowan3988 commented 9 years ago

We were looking into using LDAP with one of our Taiga servers; we tried to get it working using the taiga-vagrant box provided on the taiga.io github page in order to test that it works, but we are having a few issues. These are the steps we took:

  1. git clone https://github.com/taigaio/taiga-vagrant.git
  2. vagrant up
  3. went to taiga-front/dist/js/conf.json file and set the "loginFormType" to ldap
  4. went to taiga-back/requirements.txt and added "taiga-contrib-ldap-auth" to the end of the file
  5. went to taiga-back/settings/local.py file and added our ldap server settings into that file
  6. circusctl reload taiga

We then attempted to log-in to taiga using a user we had set up within LDAP, and it insists the user doesnt exist. The gunicorn.stderr.log file is printing:

[2015-09-30 13:49:19 +0000] [30717] [INFO] Booting worker with pid: 30717
[2015-09-30 13:49:19 +0000] [30719] [INFO] Booting worker with pid: 30719
[2015-09-30 14:14:10 +0000] [30707] [INFO] Handling signal: hup
[2015-09-30 14:14:10 +0000] [30707] [INFO] Hang up: Master
[2015-09-30 14:14:10 +0000] [31569] [INFO] Booting worker with pid: 31569
Trying import local.py settings...
Trying import local.py settings...
[2015-09-30 14:14:10 +0000] [31570] [INFO] Booting worker with pid: 31570
Trying import local.py settings...
[2015-09-30 14:14:10 +0000] [31571] [INFO] Booting worker with pid: 31571

We aren't sure what the problem is, or what this output suggests, does anyone have any suggestions as to how we might debug this issue?

leemcgowan3988 commented 9 years ago

Solved it; it was a simple error with our ldap configuration.