git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc35a4b
)
r13069: adding a hack on instructions from andrew
author
Andrew Tridgell
<tridge@samba.org>
Sun, 22 Jan 2006 23:19:48 +0000
(23:19 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:51:21 +0000
(13:51 -0500)
source/kdc/hdb-ldb.c
patch
|
blob
|
history
diff --git
a/source/kdc/hdb-ldb.c
b/source/kdc/hdb-ldb.c
index 7cb02b82242bf2bab8ac0e3845ebf85408f19e04..43009c1c1bd1285e5b63801c1844a513e4228a5d 100644
(file)
--- a/
source/kdc/hdb-ldb.c
+++ b/
source/kdc/hdb-ldb.c
@@
-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,