We check the ACB_PW_EXPIRED bit to determine whether the account is
expired. Since ACB_PW_EXPIRED can’t be represented in a 16‐bit integer,
we must increase the width of acct_flags so as not to lose that bit.
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
bool allow_domain_trust,
bool password_change)
{
- uint16_t acct_flags;
+ uint32_t acct_flags;
const char *workstation_list;
NTTIME acct_expiry;
NTTIME must_change_time;