-
Notifications
You must be signed in to change notification settings - Fork 254
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
Using gokrb5 with go-ldap #247
Comments
My understanding is that go-ldap is an LDAP client. Can you explain what your use case is here? |
I use go-ldap to browse active directory I used gokrb to get the ticket for the LDAP service, but I don't know how to add the ticket to the LDAP Build Request. Reference: Thank you for your reply. |
I had exactly the same situation as lukeo3o1, but in Kafka. The gokrb5 is a great library explaining a lot in communicating with Kerberos. But what after we got the TGS? How to add the ticket to "the client" which requires the Kerberos? |
I need this as well for enterprise use: I wrote a program to synchronize ldap-group members with local linux group users. |
i too would like this. I would like to authenticate with gokrb5 and then authorize with go-ldap. Is it possible? |
I have not done it in practice but in theory you should be able to pass an http.Handler that does the authorization using go-ldap as the inner handler to You can get the authenticated user details from the request context as shown in the example and then do the LDAP call to get further details about the user. If you are using Active Directory as your KDC there are additional details available already without having to do the LDAP call. |
Do we have any movement on this, this is exactly what I need, I'm 100% sure what needs to be done here, but basically I need the ability to query LDAP using the authenticated key tab. Any ideas? |
Reslove go-ldap/ldap#449 |
There is currently no implementation of Kerberos GSSAPI authentication on go-ldap.
Is it possible to use gokrb5 implementation or any ideas?
The text was updated successfully, but these errors were encountered: