-
Notifications
You must be signed in to change notification settings - Fork 214
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
Syspass 1.2.0.11 LDAP 2 times to login #189
Comments
Hi, can you try it out the latest commit? |
Thanks, what is the best way to update? I am already in production with this so i am a little carefull now :) |
If you don't want to update your production environment, you can download and unpack in a new directory and then copy the config.php file to the newly created structure. The new instance will connect to the same database, but no changes will be performed because this build doesn't implements any database related stuff, only PHP session management. Another solution would be to create a new installation from scratch using a different database. |
Yes, but i noticed you only changed the MainC.class.php in syspass//web. Cant i just override the current file with your new one? |
Sure, but there are 6 files in the latest commit.... |
Problem is fixed now, thanks again. |
I send the url of the private gist with the debug data. |
Ok, let me find out what could be happening. The debug data can be useful, but I think it isn't a LDAP related issue, because it would throw an error, and it doesn't. It can be a PHP session issue. Can you tell me if before the failed login attempt you did a logout or was a session timeout? |
Everytime i did a logout. |
LDAP login is working perfectly with my setup. Maybe I can help you somehow to configure your setup correctly? |
Thanks a lot the problem is resolved now, logged in and out for 20 times and haven't experienced the problem anymore. |
Great, thanks for the feedback! |
Hi There,
Sorry to post another issue but now and then i am logging in using LDAP with my usernumber and password but the first time i do this i get no error nothing and the page refreshes with the login box when my password is 100% ok then i login again and i get to my passwords.
How can we troubleshoot this?
I only got this in the log:
2809 2016-01-04 17:10:16 Log in myusernumber 10.200.200.183 (LDAP)
Login Server: xxxxxxx:3268
User: myusernumber
Profile: Admin
Group: Network
2808 2016-01-04 17:10:07 Log in myusernumber 10.200.200.183 (LDAP)
Login Server: xxxxx:3268
User: myusernumber
Profile: Admin
Group: Network
2807 2016-01-04 17:10:07 Logout session 10.200.200.183 User:
Inactive time: 5.5 min.
Total time: 5.5 min.
2806 2016-01-04 17:04:35 Logout session 10.200.200.183 User: myusernumber
Inactive time: 0.3 min.
Total time: 2.03 min.
The text was updated successfully, but these errors were encountered: