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

abartlet at samba.org abartlet at samba.org
Fri May 18 01:15:51 GMT 2007


Author: abartlet
Date: 2007-05-18 01:15:50 +0000 (Fri, 18 May 2007)
New Revision: 22983

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

Log:
This should ensure that torture_create_testuser() can be called,
without needing to change the user's password afterwoulds.

(Accounts were being created with 'must change at next login' set).

Andrew Bartlett

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


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/testjoin.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/testjoin.c	2007-05-17 22:40:48 UTC (rev 22982)
+++ branches/SAMBA_4_0/source/torture/rpc/testjoin.c	2007-05-18 01:15:50 UTC (rev 22983)
@@ -261,7 +261,7 @@
 	s.in.info = &u;
 	s.in.level = 21;
 
-	u.info21.acct_flags = acct_type;
+	u.info21.acct_flags = acct_type | ACB_PWNOEXP;
 	u.info21.fields_present = SAMR_FIELD_ACCT_FLAGS | SAMR_FIELD_DESCRIPTION | SAMR_FIELD_COMMENT | SAMR_FIELD_FULL_NAME;
 
 	u.info21.comment.string = talloc_asprintf(join, 



More information about the samba-cvs mailing list