1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-16 00:23:52 +03:00

r2290: Fix 'lsakey' for the server-side, it is static for

'authenticated' connections.

Fix kerberos session key issues - we need to call the
routine for extracting the session key, not just read the cache.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2004-09-12 03:18:24 +00:00
committed by Gerald (Jerry) Carter
parent e4729949c6
commit b80d849b6b
6 changed files with 47 additions and 17 deletions

View File

@@ -682,15 +682,13 @@ static NTSTATUS gensec_krb5_session_info(struct gensec_security *gensec_security
session_info->nt_user_token = NULL;
}
session_info->session_key = data_blob_talloc(session_info->mem_ctx,
gensec_krb5_state->session_key.data,
gensec_krb5_state->session_key.length);
nt_status = gensec_krb5_session_key(gensec_security, &session_info->session_key);
session_info->workstation = NULL;
*session_info_out = session_info;
return NT_STATUS_OK;
return nt_status;
}