diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-07-28 16:11:30 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-07-28 16:15:23 +0200 |
commit | c4c79aa1b61b48eca47dffecb4ad847fae3bffed (patch) | |
tree | 5a6daf65e1346efd73c301d6803f6ef6ad4f4118 | |
parent | 2d2911c7885dc832700185e62160bc18f8abfa04 (diff) | |
download | samba-c4c79aa1b61b48eca47dffecb4ad847fae3bffed.tar.gz samba-c4c79aa1b61b48eca47dffecb4ad847fae3bffed.tar.bz2 samba-c4c79aa1b61b48eca47dffecb4ad847fae3bffed.zip |
gensec_gssapi: use gsskrb5_get_subkey() to make smb2 signing with aes keys work
SMB signing with aes doesn't work, but still works with
arcfour-hmac-md5, des-cbc-md5 and des-cbc-crc.
metze
(This used to be commit 73964f069056f46f2f27fc690e42e5c91ae1fe19)
-rw-r--r-- | source4/auth/gensec/gensec_gssapi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c index 205d8a0f9b..c20cf4f5bd 100644 --- a/source4/auth/gensec/gensec_gssapi.c +++ b/source4/auth/gensec/gensec_gssapi.c @@ -1152,9 +1152,9 @@ static NTSTATUS gensec_gssapi_session_key(struct gensec_security *gensec_securit return NT_STATUS_OK; } - maj_stat = gsskrb5_get_initiator_subkey(&min_stat, - gensec_gssapi_state->gssapi_context, - &subkey); + maj_stat = gsskrb5_get_subkey(&min_stat, + gensec_gssapi_state->gssapi_context, + &subkey); if (maj_stat != 0) { DEBUG(1, ("NO session key for this mech\n")); return NT_STATUS_NO_USER_SESSION_KEY; |