Skip to content
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

Duplicate user login/email #468

Closed
zulink opened this issue Mar 2, 2017 · 10 comments
Closed

Duplicate user login/email #468

zulink opened this issue Mar 2, 2017 · 10 comments

Comments

@zulink
Copy link

zulink commented Mar 2, 2017

Hello!
I tried to connect from AD, i take error :(

Syspass duplicate user login/email

@nuxsmin
Copy link
Owner

nuxsmin commented Mar 2, 2017

Hello,

As I understand, you are trying to log into sysPass by using LDAP auth, if so sysPass will create the LDAP user in its database for offline access (and store user's data), and then it will get the user's data from LDAP, so that LDAP user has a email that matches with a sysPass user's email.

Could you verify that the LDAP user's email does not match with an existing one?

@zulink
Copy link
Author

zulink commented Mar 2, 2017

Yes it is, how can i solve this?

@nuxsmin
Copy link
Owner

nuxsmin commented Mar 2, 2017

You could change the sysPass user that has set that email.

@zulink
Copy link
Author

zulink commented Mar 2, 2017

I have 6k+ users in my domain and it's impossible, have you got another way to solve this?

@nuxsmin
Copy link
Owner

nuxsmin commented Mar 2, 2017

I meant that you could change the user's email in sysPass, that is on the users tab, search for the email that were in conflict and then change it. Or maybe did you mean that all the LDAP users have the same email?

@zulink
Copy link
Author

zulink commented Mar 2, 2017

All users have different mail, but error for everyone
This problem started, then i today update to syspass 2.1
image

@nuxsmin nuxsmin self-assigned this Mar 2, 2017
@nuxsmin nuxsmin added this to the 2.1 milestone Mar 2, 2017
@zulink
Copy link
Author

zulink commented Mar 2, 2017

I find out thats the problem, the field is empty
image

nuxsmin added a commit that referenced this issue Mar 2, 2017
@nuxsmin
Copy link
Owner

nuxsmin commented Mar 2, 2017

Right, I found the bug. It was caused because it was using a variable that wasn't set at the time the LDAP checks took place.

I've just fixed it in the latest commit (please download from the master branch)

@zulink
Copy link
Author

zulink commented Mar 2, 2017

Thank you so much!
All things is working perfect and problems were decided successfully. Also we check it on the 20 users.
You can close this issue
I'm appreciate

@nuxsmin
Copy link
Owner

nuxsmin commented Mar 2, 2017

Great, you're welcome!

Thanks for the feedback and tests!

@nuxsmin nuxsmin closed this as completed Mar 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants