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

Ldap group authentication not working #45

Closed
symourjr opened this issue Jun 26, 2014 · 3 comments
Closed

Ldap group authentication not working #45

symourjr opened this issue Jun 26, 2014 · 3 comments
Assignees
Milestone

Comments

@symourjr
Copy link

Good Afternoon,

We were able to have syspass connect to ldap. However have an issue wherein even though a user is not part of the syspass-users group for example, they still were able to login.

Also I was wondering why an account logins in the first time, it tells them their accounts are disabled. On the logs it says an activation email was sent to the user however there wasn't any activation link.

@mdrozeski @wboone

@nuxsmin
Copy link
Owner

nuxsmin commented Jun 26, 2014

Hi,

I suppose that you are running 1.0 version, aren't you?. Ldap group membership should work right, let me do some reviews to the code and let you know.

About Ldap users first login disabled, this behavior is due to the application creates the user account in first login, so it doesn't know in what group users should belong . In next release you will be able to configure a default group for Ldap users.

Kind regards

@symourjr
Copy link
Author

Using 1.1b.

@nuxsmin
Copy link
Owner

nuxsmin commented Jul 23, 2014

Hi,

I've been doing some code review and tests, and the ldap group is checked rightly, the only reason that it would allow access is when the LDAP server is not reachable, then the application falls back to the MySQL backend, where the user credentials are saved. Can it be the scenario?

@nuxsmin nuxsmin closed this as completed in 2c37674 Feb 3, 2015
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