summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-05-18 01:15:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:35 -0500
commitdf5f675d2a87555ff2cdc79c8f22a2925afb0b13 (patch)
tree411d065b0394863d483723f8877afe18539eb706 /source4/torture/rpc
parentc0aa1f0d9e60e4b92bb3650e30e87ddf9e3c76fb (diff)
downloadsamba-df5f675d2a87555ff2cdc79c8f22a2925afb0b13.tar.gz
samba-df5f675d2a87555ff2cdc79c8f22a2925afb0b13.tar.bz2
samba-df5f675d2a87555ff2cdc79c8f22a2925afb0b13.zip
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)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/testjoin.c2
1 files changed, 1 insertions, 1 deletions
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,