mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
r13069: adding a hack on instructions from andrew
This commit is contained in:
parent
cc35a4bc0e
commit
65cf522b5e
@ -355,7 +355,8 @@ static krb5_error_code LDB_message2entry(krb5_context context, HDB *db,
|
||||
*entry_ex->entry.valid_end = nt_time_to_unix(acct_expiry);
|
||||
}
|
||||
|
||||
if (!(userAccountControl & UF_DONT_EXPIRE_PASSWD)) {
|
||||
if (!(userAccountControl & UF_DONT_EXPIRE_PASSWD) &&
|
||||
(ent_type != HDB_LDB_ENT_TYPE_KRBTGT)) {
|
||||
NTTIME must_change_time
|
||||
= samdb_result_force_password_change((struct ldb_context *)db->hdb_db, mem_ctx,
|
||||
domain_dn, msg,
|
||||
|
Loading…
x
Reference in New Issue
Block a user