-
-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication over ldap needs some logging #4385
Comments
In shipped example configuration verbose LDAP logging is enabled when DEBUG mode is set: weblate/weblate/settings_example.py Lines 484 to 485 in 53c42ab
Even without that, it should log errors. What is your logging configuration? |
This issue looks like a support question. We try to answer these reasonably fast, but in case you are looking for faster resolution, please consider purchasing support subscription and make Weblate stronger. |
Nah, no support question. I've got everything working and am not planing to change the configuration again ;-). I can send you the whole log produced by docker if you want to. But I can guarantee you, there's no mention of ldap, dn, cn inside (that were the words I was grepping for). |
On the other side, I've seen such logs in several cases :-). What version do you use? WEBLATE_LOGLEVEL not set? |
I've just tried out: and setting an invalid ldap server. => I can't log in ;-). |
Okay, just tried it, the log contains:
My
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is your feature request related to a problem? Please describe.
I'm using the docker image of weblate and just lost about 45 minutes trying to setup the ldap authentication. In the ip address of the ldap server I've had a mistake. But since there wasn't a single error message in the log file (i've activated debug), I was playing around forever with the dn_templte, dn_search etc. settings (which by the way are pretty bad documented). I've needed to read through settings_docker.py to be sure how they work.
Now everything is working. But still there is not a single mentioning of ldap or authentication in the logs.
Describe the solution you'd like
Give some log output, especially when something isn't working.
The text was updated successfully, but these errors were encountered: