summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-09-11 12:48:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:38 -0500
commit30ea54c4ba99bd38198d86d4b28ad6a5c16b7fa3 (patch)
treea82a744965ef3f0399554b0df44c63759da564f9 /source4/rpc_server
parentfa419c925524d05ef220c6442759961d28fb5771 (diff)
downloadsamba-30ea54c4ba99bd38198d86d4b28ad6a5c16b7fa3.tar.gz
samba-30ea54c4ba99bd38198d86d4b28ad6a5c16b7fa3.tar.bz2
samba-30ea54c4ba99bd38198d86d4b28ad6a5c16b7fa3.zip
r2281: Add a few comments.
(This used to be commit 7be16e503616d9b339390a253357114c510729d0)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcesrv_auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/rpc_server/dcesrv_auth.c b/source4/rpc_server/dcesrv_auth.c
index 85c7916df7..1197329753 100644
--- a/source4/rpc_server/dcesrv_auth.c
+++ b/source4/rpc_server/dcesrv_auth.c
@@ -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,