summaryrefslogtreecommitdiff
path: root/source3/librpc/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc/crypto')
-rw-r--r--source3/librpc/crypto/cli_spnego.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/librpc/crypto/cli_spnego.c b/source3/librpc/crypto/cli_spnego.c
index 98251c776e..97e6a8152b 100644
--- 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;
}