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:
parent
c0aa1f0d9e
commit
df5f675d2a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user