From df5f675d2a87555ff2cdc79c8f22a2925afb0b13 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 18 May 2007 01:15:50 +0000 Subject: r22983: 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 (This used to be commit 7b94f2f6dbb7780fb12c8fad5e2ea6e07e72b24e) --- source4/torture/rpc/testjoin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c index c52ef6e853..0e30b974ed 100644 --- a/source4/torture/rpc/testjoin.c +++ b/source4/torture/rpc/testjoin.c @@ -261,7 +261,7 @@ again: 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, -- cgit