svn commit: samba r13404 - in branches/SAMBA_4_0/source/torture/rpc: .

abartlet at samba.org abartlet at samba.org
Thu Feb 9 03:05:25 GMT 2006


Author: abartlet
Date: 2006-02-09 03:05:22 +0000 (Thu, 09 Feb 2006)
New Revision: 13404

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13404

Log:
Comments, whitespace.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/torture/rpc/schannel.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/schannel.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/schannel.c	2006-02-09 03:04:48 UTC (rev 13403)
+++ branches/SAMBA_4_0/source/torture/rpc/schannel.c	2006-02-09 03:05:22 UTC (rev 13404)
@@ -365,7 +365,7 @@
 		goto failed;
 	}
 
-	/* do a couple of logins.  We have *not* done a new serverauthenticate */
+	/* do a some SAMR operations.  We have *not* done a new serverauthenticate */
 	if (!test_samr_ops(p_samr2, test_ctx)) {
 		printf("Failed to process schannel secured SAMR ops (on fresh connection)\n");
 		goto failed;
@@ -379,11 +379,11 @@
 
 	status = dcerpc_secondary_connection(p_samr2, &p_netlogon2, 
 					     b);
-
 	if (!NT_STATUS_IS_OK(status)) {
 		goto failed;
 	}
 
+	/* and now setup an SCHANNEL bind on netlogon */
 	status = dcerpc_bind_auth(p_netlogon2, &dcerpc_table_netlogon,
 				  credentials, DCERPC_AUTH_TYPE_SCHANNEL,
 				  dcerpc_auth_level(p_samr2->conn),
@@ -399,7 +399,8 @@
 		ret = False;
 	}
 
-	/* And the more traditional style */
+	/* And the more traditional style, proving that the
+	 * credentials chaining state is fully present */
 	if (!test_netlogon_ops(p_netlogon2, test_ctx, credentials, creds)) {
 		printf("Failed to process schannel secured NETLOGON EX ops\n");
 		ret = False;



More information about the samba-cvs mailing list