-
Notifications
You must be signed in to change notification settings - Fork 255
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
Problem with LDAP #537
Comments
Hi @Kottare-Seth , Please try running the following command to verify the bind DN: ldapsearch -x -H ldap://xxxxxx:389 -D "CN=horillasync,CN=xxxxxxx,DC=xxx,DC=xxx,DC=xxxx" -w "xxxxxxxxx" -b "DC=xxx,DC=xxx,DC=xxxx" "(sAMAccountName=horillasync)" If the result returns:
Then update your code with: AUTH_LDAP_BIND_DN = "CN=horillasync,OU=Admins,DC=xxx,DC=xxx,DC=xxxx" Additionally, LDAP configuration management from the web interface is currently under development and will be available in the source code soon. Best Regards, |
Hi, Great to hear about LDAP configuration in Web interface - maybe you might add test connectivity option, with trying search some user to validate is it working correctly? |
Hi @Kottare-Seth, We've recently updated the source code and introduced a separate app for LDAP integration in Horilla. Please pull the latest code and follow these steps:
This should resolve the issue and make the LDAP setup more manageable via the web interface. Let us know if you face any further issues! Best Regards, |
Hello @horilla-opensource , we still facing errors when trying to connect, Connection is going on port 3268 but its not valid port for LDAP its GC port and doesnt map properly changes, when i trying to change port to 389 still facing issues even if manual ldapsearch working with no issues: Error: {'msgtype': 115, 'msgid': 2, 'result': 1, 'desc': 'Operations error', 'ctrls': [], 'info': '000004DC: LdapErr: DSID-0C090CF8, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v4f7c'} and cannot import users or login to server. |
Hi @siseth , Thank you for your patience. Since you've followed all the steps and are still facing issues, we’d be happy to assist you further. To troubleshoot this efficiently, we can schedule a Google Meet session. Please share your availability, and we will coordinate a suitable time. You can reach us at support@horilla.com to finalize the details. Looking forward to resolving this with you! Best Regards, |
Hi,
I have followed tutorial about LDAP integration step by step:
https://www.horilla.com/blogs/how-to-integrate-ldap-with-django/
Below my configuration:
When I do ldapsearch from CLI I get response:
But while trying to login to Horilla via WEB I got this in logs:
I've double checked everything, password is ok and userbind, since it works from CLI.
Tried few setups, trying ldap URL with/without port, using DN or UPN - same effect.
The text was updated successfully, but these errors were encountered: