summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-11-08 04:54:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:22 -0500
commitcb3a884048f7ae5e3c25a4b2abe7ff57283cc0e6 (patch)
tree4f0e00b61b94164b0ea262e66a0c2d85c4f235d6 /source4/auth
parent667eedac90fd58e3a8bcc4450fdf493b6ca5faea (diff)
downloadsamba-cb3a884048f7ae5e3c25a4b2abe7ff57283cc0e6.tar.gz
samba-cb3a884048f7ae5e3c25a4b2abe7ff57283cc0e6.tar.bz2
samba-cb3a884048f7ae5e3c25a4b2abe7ff57283cc0e6.zip
r19635: It appears that under CFX, different keys are used in each direction
(or something like that). In any case, we need to stick with the initiator subkey for now, until we figure out what Vista uses for the CIFS session key. Andrew Bartlett (This used to be commit b91a921e1393581ca0102ad1f49a1075acb91b4e)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/gensec_gssapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index 7094692fb2..9f796dc9d1 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -1123,9 +1123,9 @@ static NTSTATUS gensec_gssapi_session_key(struct gensec_security *gensec_securit
return NT_STATUS_OK;
}
- maj_stat = gsskrb5_get_subkey(&min_stat,
- gensec_gssapi_state->gssapi_context,
- &subkey);
+ maj_stat = gsskrb5_get_initiator_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;