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

vlendec at samba.org vlendec at samba.org
Sat Jul 15 18:31:51 GMT 2006


Author: vlendec
Date: 2006-07-15 18:31:51 +0000 (Sat, 15 Jul 2006)
New Revision: 17069

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

Log:
Make us pass RPC-NETLOGSAMBA3 against w2k3 again
Modified:
   branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c	2006-07-15 18:30:29 UTC (rev 17068)
+++ branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c	2006-07-15 18:31:51 UTC (rev 17069)
@@ -594,7 +594,8 @@
 
 		status = dcerpc_samr_SetUserInfo2(samr_pipe, mem_ctx, &sui2);
 		if (!NT_STATUS_IS_OK(status)) {
-			d_printf("samr_SetUserInfo(24) failed\n");
+			d_printf("samr_SetUserInfo(24) failed: %s\n",
+				 nt_errstr(status));
 			goto done;
 		}
 
@@ -1023,7 +1024,9 @@
 	cli_credentials_set_secure_channel_type(wks_creds, SEC_CHAN_WKSTA);
 	cli_credentials_set_username(wks_creds, wks_name, CRED_SPECIFIED);
 	cli_credentials_set_workstation(wks_creds, wks_name, CRED_SPECIFIED);
-	cli_credentials_set_password(wks_creds, "", CRED_SPECIFIED);
+	cli_credentials_set_password(wks_creds,
+				     generate_random_str(wks_creds, 8),
+				     CRED_SPECIFIED);
 
 	if (!join3(cli, False, cmdline_credentials, wks_creds)) {
 		d_printf("join failed\n");



More information about the samba-cvs mailing list