1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

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 commit is contained in:
Andrew Bartlett 2007-05-18 01:15:50 +00:00 committed by Gerald (Jerry) Carter
parent 4c6e01a585
commit 7b94f2f6db

View File

@ -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,