wekan / ldap

LDAP support for Wekan code has been moved to https://github.com/wekan/wekan/tree/master/packages/wekan-ldap , issues to https://github.com/wekan/wekan/issues , and if PRs are needed please add them instead to https://github.com/wekan/wekan/pulls
https://github.com/wekan/wekan/tree/master/packages/wekan-ldap
MIT License
12 stars 10 forks source link

Increasing snap logging level #33

Closed superlou closed 5 years ago

superlou commented 5 years ago

I'm trying to debug LDAP connectivity, and ldapsearch works as I expect it to. However, the same configuration options always result in "Login forbidden" at the Wekan login page. I suspect it might be related to our Active Directory having sAMAccountName as the name field rather than something like uid.

In order to debug this further, I'm trying to figure out exactly what is failing, but all I can find is snap logs wekan, which doesn't seem to capture LDAP or login failure information. Is there a way to increase the amount of logging beyond simply ldap-log-enable, or is there another place to find the LDAP logs?

superlou commented 5 years ago

There is plenty of LDAP log information in snap logs wekan if you set:

ldap-enable=true
ldap-log-enabled=true  # note "enabled", not "enable"