-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
v3-dev4 - LDAP/AD testers needed (again)! #2250
Comments
I have a VM setup with the same database and configurations as my production server. LDAP sync is working, local users and LDAP users are able to login without issue. I disabled LDAP before pulling down from V3 Logged in with local user and went to settings to enable LDAP and re-enter bind password. When I go to the People tab and click on the LDAP tab in the top right, I am getting this: I am using the same LDAP settings, same bind password etc. Attempting to log in with an LDAP user will produce an Invalid username or password message. The log isn't really telling me too much, but I've provided it below for you. User veen1981 is my local user created from setup. User jefferyvanderveen is an imported LDAP user.\ [2016-07-14 07:38:51] production.DEBUG: Authenticating user against database. |
Ok, so I applied the last update from the V3 branch to my test VM. I see the new field for entering the Active Directory domain and tried both grcc.edu and ad.grcc.edu. I will private message you my LDAP settings in gitter in case you see anything that looks off, but these are the exact same settings I am using on the V3-dev-3 install we are using in production which is still working. |
Tested with VM successfully and in production. I'm not 100% on how our Active Directory was setup, but for me, I am binding to LDAP without having the AD checkbox marked. Either way things appear to be working again! |
Sounds like you didn't run migrations on the original one - there was a new field added. |
Yeah, I realized that after looking through the logs, but wasn't getting much in the logs on the first try. Whatever you committed 3 days ago seems to have fixed that! We're running V3 in production now. I'm presenting to our managers Thursday for department wide implementation! Thanks for all your hard work on this! |
I’ve just made a big tweak to LDAP authentication. If you’re using LDAP auth (and are already on v3) and have a test database, please kick the tires on
v3
. Check that:This should eliminate those pesky "MAC is invalid" errors when you've gone and donked up your app key, and overall should provide a lot more information about what's wrong, AND should fail more gracefully when it is wrong.
If you can tail your app logs while reporting your findings, that will help a lot, as I've got lots of debugging messages in the logs to help us work through this.
The text was updated successfully, but these errors were encountered: