r2281: Add a few comments.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 11 Sep 2004 12:48:27 +0000 (12:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:58:38 +0000 (12:58 -0500)
(This used to be commit 7be16e503616d9b339390a253357114c510729d0)

source4/rpc_server/dcesrv_auth.c

index 85c7916df760d3b3d54e2b811032767691d1827b..119732975376110c26f822f709110e109311f4c3 100644 (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,