1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +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 used to be commit 7b94f2f6db)
This commit is contained in:
Andrew Bartlett 2007-05-18 01:15:50 +00:00 committed by Gerald (Jerry) Carter
parent c0aa1f0d9e
commit df5f675d2a

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,