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:
parent
3b4ed24f4b
commit
7be16e5036
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user