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

Giving LDAP Users Access #17

Closed
crc212 opened this issue Nov 26, 2013 · 6 comments
Closed

Giving LDAP Users Access #17

crc212 opened this issue Nov 26, 2013 · 6 comments
Assignees
Labels
Milestone

Comments

@crc212
Copy link

crc212 commented Nov 26, 2013

Though there is an LDAP configuration, there doesn't seem to be a way to give LDAP users access to the sysPass system. How would one accomplish this?

When attempting to login using an account within the group specified, Internal Error is displayed. This appears in the log:

You have an error in your SQL syntax; Manual That Corresponds the check to your MySQL server version for the right syntax to use near 'T} HFs_ JPR S,? user_email = 'r' at line 6 (1064)
SQL: INSERT INTO usrData SET \ n user_name = \ '----, ----- ', \ n user_groupId = 0, \ n user_login = \ '-----.----- ', \ n user_pass = \ '--------------------------------------------------- ', \ n user_hashSalt =
7 +8 CT} HFs_? JPR? S, \ n user_email = \ '[email protected] \ ', \ n user_notes = \ "LDAP ', \ n user_profileId = 0, \ n user_isLdap = 1, \ n = 1 user_isDisabled

Specific user information has been removed.

@ghost ghost assigned nuxsmin Nov 26, 2013
@nuxsmin
Copy link
Owner

nuxsmin commented Nov 26, 2013

Single quotes in user's hash salt missing.

@crc212
Copy link
Author

crc212 commented Nov 26, 2013

How would I go about fixing this?

@nuxsmin
Copy link
Owner

nuxsmin commented Nov 26, 2013

Fix released, please unpack latest release on the same location.

@nuxsmin nuxsmin reopened this Nov 26, 2013
@nuxsmin
Copy link
Owner

nuxsmin commented Nov 26, 2013

Does the fix let to log in with an LDAP user account?

@crc212
Copy link
Author

crc212 commented Nov 26, 2013

Yes, LDAP users now work correctly. Thank you!

@nuxsmin
Copy link
Owner

nuxsmin commented Nov 26, 2013

Thank you for the feedback ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants