svn commit: samba r2281 - in branches/SAMBA_4_0/source/rpc_server: .

abartlet at samba.org abartlet at samba.org
Sat Sep 11 12:48:27 GMT 2004


Author: abartlet
Date: 2004-09-11 12:48:27 +0000 (Sat, 11 Sep 2004)
New Revision: 2281

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/rpc_server&rev=2281&nolog=1

Log:
Add a few comments.

Modified:
   branches/SAMBA_4_0/source/rpc_server/dcesrv_auth.c


Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/dcesrv_auth.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/dcesrv_auth.c	2004-09-11 12:32:05 UTC (rev 2280)
+++ branches/SAMBA_4_0/source/rpc_server/dcesrv_auth.c	2004-09-11 12:48:27 UTC (rev 2281)
@@ -149,6 +149,7 @@
 	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 @@
 		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, 



More information about the samba-cvs mailing list