-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Expose kerberos fast negotiation configuration #1466
Conversation
@@ -33,6 +33,7 @@ type GSSAPIConfig struct { | |||
Username string | |||
Password string | |||
Realm string | |||
DisablePAFXFAST bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm seeing some test for this API here sarama/kerberos_client_test.go
, might worth to add a test that includes DisablePAFXFAST
@@ -42,10 +42,10 @@ func createClient(config *GSSAPIConfig, cfg *krb5config.Config) (KerberosClient, | |||
if err != nil { | |||
return nil, err | |||
} | |||
client = krb5client.NewClientWithKeytab(config.Username, config.Realm, kt, cfg) | |||
client = krb5client.NewClientWithKeytab(config.Username, config.Realm, kt, cfg, krb5client.DisablePAFXFAST(config.DisablePAFXFAST)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure I'll do! I'm new using golang, so thanks for pointing me to the conventions.
@rubenvp8510 could you please add some description to the PR to tell why this is important to have, thanks |
Thank you for your contribution! However, this pull request has not had any activity in the past 90 days and will be closed in 30 days if no updates occur. |
455ac32
to
ec6b67b
Compare
ec6b67b
to
95a5403
Compare
549c3d7
to
36d31d4
Compare
Signed-off-by: Ruben <ruben.vp8510@gmail.com>
36d31d4
to
ddb162a
Compare
Sorry, I totally forgot this PR, I've already updated with the requested changes. I think it is ready for another review and/or merge. |
ddb162a
to
7913f9f
Compare
…est for DisablePAFXFast Signed-off-by: Ruben <ruben.vp8510@gmail.com>
7913f9f
to
dd2a9df
Compare
I'm getting the following error:
Googling and following Github issue trails leads me to believe it may be fixed by this pull request. |
@d1egoaz could you please do another review of this one? Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks @rubenvp8510
This PR allows Kerberos to be configured with fast negotiation disable, it is required for certain KDCs (i.e Active directory Kerberos server).