Closed jaydeepch15 closed 1 year ago
Hi @jaydeepjc ,
You can use the following reference to find the right ldap configuration (https://django-auth-ldap.readthedocs.io/en/latest/example.html).
To retrieve LDAP log, you can add the following code snippet in local_settings.py
:
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"handlers": {"console": {"class": "logging.StreamHandler"}},
"loggers": {"django_auth_ldap": {"level": "DEBUG", "handlers": ["console"]}},
}
You should see the LDAP logs in output console when you launch patchman application.
Closing as this is an auth issue, see upstream docs for settings that up.
Hi,
I have configured patchman and its working in my production environment. Thanks to @furlongm for timely help.
To take it in next step I tried to integrate LDAP /AD for login method.
I tried below snippet in local_settings.py
Then reboot the patchman server.After reboot when try to Login via LDAP/AD user its not working. Not sure where can I find logs for it, so couldnt share log destails for this failure.
What am I doing wrong for AD code snippet?