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 auth not work #2

Open
majestic1488 opened this issue Aug 7, 2019 · 2 comments
Open

LDAP auth not work #2

majestic1488 opened this issue Aug 7, 2019 · 2 comments

Comments

@majestic1488
Copy link

majestic1488 commented Aug 7, 2019

Hi.
example my config:
...
auth_type: "ad"
ldap_server: my.domain:389
ldap_domain: my.domain
pass_password: true
...

But, in auth.log I see the following:
ssh-bastion[20011]: Failed password for user username@my.domain from ip:port ssh2

what am I doing wrong?

@iamacarpet
Copy link
Owner

@majestic1488 do you think it could be that your AD doesn't support non-SSL binds?

389 is the non-SSL port AFAIK and the default settings don't allow binds via it.

@majestic1488
Copy link
Author

majestic1488 commented Aug 7, 2019

@iamacarpet AD supports non-SSL binds.
And more information, I ran tcpdump on port 389 and there is silence, no requests
There are no outgoing packets from server to port 389
What should we do?

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

2 participants