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

Authenticate with 0 length password succeeds on Windows AD #31

Open
krisavi opened this issue Feb 11, 2022 · 0 comments
Open

Authenticate with 0 length password succeeds on Windows AD #31

krisavi opened this issue Feb 11, 2022 · 0 comments

Comments

@krisavi
Copy link

krisavi commented Feb 11, 2022

The topic is quite explanatory.

It seems there is issue with LDAP binding to AD. The base library used here is not the same, but problem seems to be the same as described in here: go-ldap/ldap#93

Authenticate method could verify the password length and not even try binding if password is empty and return error message. Probably should be configurable if it might be necessary to use such functionality.

At least notification should be added for the function in docs to be aware of this as a possible user password authentication flaw. For me was quite a surprise to get logged in when I accidentally left my password empty.

edit: seems it is duplicate of #16 and #11

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

No branches or pull requests

1 participant