mirror of
https://github.com/samba-team/samba.git
synced 2025-10-23 11:33:16 +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:
committed by
Gerald (Jerry) Carter
parent
e4729949c6
commit
b80d849b6b
@@ -128,6 +128,9 @@ BOOL dcesrv_auth_bind_ack(struct dcesrv_call_state *call, struct dcerpc_packet *
|
||||
DEBUG(1, ("Failed to establish session_info: %s\n", nt_errstr(status)));
|
||||
return False;
|
||||
}
|
||||
|
||||
/* Now that we are authenticated, got back to the generic session key... */
|
||||
dce_conn->auth_state.session_key = dcesrv_generic_session_key;
|
||||
return True;
|
||||
} else if (NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {
|
||||
dce_conn->auth_state.auth_info->auth_pad_length = 0;
|
||||
@@ -176,6 +179,8 @@ BOOL dcesrv_auth_auth3(struct dcesrv_call_state *call)
|
||||
DEBUG(1, ("Failed to establish session_info: %s\n", nt_errstr(status)));
|
||||
return False;
|
||||
}
|
||||
/* Now that we are authenticated, got back to the generic session key... */
|
||||
dce_conn->auth_state.session_key = dcesrv_generic_session_key;
|
||||
return True;
|
||||
} else {
|
||||
DEBUG(4, ("dcesrv_auth_auth3: failed to authenticate: %s\n",
|
||||
|
||||
Reference in New Issue
Block a user