1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r2281: Add a few comments.

This commit is contained in:
Andrew Bartlett 2004-09-11 12:48:27 +00:00 committed by Gerald (Jerry) Carter
parent 3b4ed24f4b
commit 7be16e5036

View File

@ -149,6 +149,7 @@ BOOL dcesrv_auth_auth3(struct dcesrv_call_state *call)
struct dcesrv_connection *dce_conn = call->conn;
NTSTATUS status;
/* We can't work without an existing gensec state, and an new blob to feed it */
if (!dce_conn->auth_state.auth_info ||
!dce_conn->auth_state.gensec_security ||
pkt->u.auth.auth_info.length == 0) {
@ -163,6 +164,7 @@ BOOL dcesrv_auth_auth3(struct dcesrv_call_state *call)
return False;
}
/* Pass the extra data we got from the client down to gensec for processing */
status = gensec_update(dce_conn->auth_state.gensec_security,
call->mem_ctx,
dce_conn->auth_state.auth_info->credentials,