-
Notifications
You must be signed in to change notification settings - Fork 29
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 over ssl #43
Comments
Sorry for taking so long to get back to you, been a bit busy this week Is this not already supported by changing the port to 636 and setting an encryption method? I've not really looked into LDAPS. |
Not sure where i should be setting the encryption method at. I set 'c.encryption' in config/adauth.rb but then i get error: 'undefined method encryption' |
you would set an encryption method so |
I can verify that this works by setting the following in config/initializers/adauth.rb:
If you are getting an undefined method ensure that you are using adauth ~2.X, as it is not supported in 1.2.1. |
Hi @hermiti do you have to have the AD TLS certificate on the machine running Ruby? |
@drewhjava https://github.com/ruby-ldap/ruby-net-ldap/blob/master/lib/net/ldap.rb
Here is a super simple ruby script that I threw together just to test simple_tls, mainly because I felt like the authentication times were much to long using tls, and I wanted to test the implementation.
|
@hermiti Thanks for your help with this. I was able to get it working! |
@slacker87 Does the solution by @hermiti fix your issue aswell? |
Needs support for LDAP over SSL please
The text was updated successfully, but these errors were encountered: