git.samba.org
/
tridge
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e012ad9
)
s3-librpc Allow spnego_generic_init_client to handle kerberos too
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 2 Jan 2012 04:26:15 +0000
(15:26 +1100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 18 Jan 2012 15:23:22 +0000
(16:23 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/librpc/crypto/cli_spnego.c
patch
|
blob
|
history
diff --git
a/source3/librpc/crypto/cli_spnego.c
b/source3/librpc/crypto/cli_spnego.c
index 98251c776ecfa6af2b43c4e124d8bb3c94e0faea..97e6a8152bef6654fe719cb65558aaf3655502be 100644
(file)
--- a/
source3/librpc/crypto/cli_spnego.c
+++ b/
source3/librpc/crypto/cli_spnego.c
@@
-105,6
+105,8
@@
NTSTATUS spnego_generic_init_client(TALLOC_CTX *mem_ctx,
}
if (strcmp(oid, GENSEC_OID_NTLMSSP) == 0) {
sp_ctx->mech = SPNEGO_NTLMSSP;
+ } else if (strcmp(oid, GENSEC_OID_KERBEROS5) == 0) {
+ sp_ctx->mech = SPNEGO_KRB5;
} else {
return NT_STATUS_INVALID_PARAMETER;
}