Taiga 6.5 LDAP

157 views
Skip to first unread message

IT Learning Center

unread,
Sep 19, 2022, 1:12:49 AM9/19/22
to taigaio

Hi

Plugin: https://github.com/Monogramm/taiga-contrib-ldap-auth-ext

I am struggling with taiga 6.5.1 to integrate with LDAP. I have enabled debug = true in taiga-backup/settings/config.py

image

Where logs are generated? I can see taiga related logs in /var/log/syslog. But it does not contain any ldap or login related logs

SMTP is properly working with my taiga..

I have enable ldap in frontend as below
nano taiga-front-dist/dist/conf.json

#added following line
"loginFormType": "ldap",

image

This is my taiga-back/settings/config.py LDAP config part is similar to below: (LDAP is configured on other VPS)

image

image

image

Please advice

David Barragán

unread,
Sep 19, 2022, 3:15:35 AM9/19/22
to IT Learning Center, taigaio
If you use docker, logs go to stdout. So you can use `docker logs <container>` or `docker-compose logs <service_name>`.

If you setup Taiga directly in your server, from the code, use `gunicorn taiga gunicorn taiga.wsgi:application ... --access-logfile <logfile_path/logfile_name>...`


Best regards

--
Please help us keep the Taiga.io Community open and inclusive, follow our Code of Conduct:
https://github.com/taigaio/code-of-conduct/blob/master/CODE_OF_CONDUCT.md
---
You received this message because you are subscribed to the Google Groups "taigaio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taigaio+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/632574a8-dacc-4df4-81de-cb96cc969931n%40googlegroups.com.


--
Logo Kaleidos David Barragán Merino
Engineer & Co-founder 
kaleidos.net/FFF8E7
 


Este mensaje y sus archivos adjuntos van dirigidos exclusivamente a su destinatario, y pudiendo contener información confidencial sometida a secreto profesional, o cuya divulgación esté legalmente prohibida. Cualquier opinión en él contenida es exclusiva de su autor y no representa necesariamente la opinión de la empresa. Si ha recibido este mensaje por error, le rogamos nos lo comunique de forma inmediata por esta misma vía y proceda a su eliminación, así como a la de cualquier documento adjunto al mismo. El correo electrónico vía Internet no es seguro y no se puede garantizar que no haya errores ya que puede ser interceptado, modificado, perdido o destruido, o contener virus. Cualquier persona que se ponga en contacto con nosotros por correo electrónico se considerará que asume estos riesgos.

KALEIDOS OPEN SOURCE se reserva las acciones legales que le correspondan contra todo tercero que acceda de forma ilegítima al contenido de cualquier mensaje externo procedente del mismo.

INFORMACIÓN PROTECCIÓN DE DATOS. Responsable: KALEIDOS OPEN SOURCE (B86241973)

Le informamos que sus datos identificativos y los contenidos en los correos electrónicos y ficheros adjuntos pueden ser incorporados a nuestras bases de datos con la finalidad de mantener relaciones profesionales y/o comerciales y, que serán conservados mientras se mantenga la relación. Si lo desea, puede ejercer su derecho a acceder, rectificar y suprimir sus datos y demás reconocidos normativamente dirigiéndose al correo emisor o en los datos del responsable. Para información y consultas visite nuestra web  https://kaleidos.net

David Barragán

unread,
Sep 20, 2022, 2:59:56 AM9/20/22
to Zohaib Shaikh, taigaio
Try to add, in the backend settings

DEBUG = True
LOGGING["disable_existing_loggers"] =  False

Or you can run the dev serve instead of gunicorn to show logs in the stdout, with the command

cd /home/taiga/taiga-back/
.venv/bin/python mange.py manage.py runserver 0.0.0.0:8001

I hope this helps


Best regards

On Mon, Sep 19, 2022 at 9:25 PM Zohaib Shaikh <zohaibs...@gmail.com> wrote:
Hi

Thank you for your reply.

I am using this command

/home/taiga/taiga-back/.venv/bin/gunicorn --workers 4 --timeout 60 --log-level 'info' --error-logfile /home/taiga/logs/taiga.log --bind 0.0.0.0:8001 taiga.wsgi --access-logfile /home/taiga/logs/taiga-access.log

I am getting error.log, no access log. file taiga-access.log is created by abov command but no any logs generated. I tried login with LDAP user it fails. but again no logs found. So it becomes difficult to figure out the problem.

Please advice
--
_________
Regards,
Zohaib

David Barragán

unread,
Sep 20, 2022, 3:01:22 AM9/20/22
to Zohaib Shaikh, taigaio
Sorry, the last command is

.venv/bin/python mange.py runserver 0.0.0.0:8001

With only one "manage.py"

Zohaib Shaikh

unread,
Sep 24, 2022, 3:07:34 PM9/24/22
to taigaio
Hi

If any one successfully integrate LDAP with taiga 6.1.5? Plz advice the procedure or work around



--
Reply all
Reply to author
Forward
0 new messages