summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-12-31 02:49:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:10 -0500
commitcf07cd3feeea7cc1874c95affc67b428aabf412c (patch)
tree1c871d2cf9b9486018f4b2f74b2a4b7c6b1d804c /source4/kdc
parent5c03e1b46e23d71026278d6b23b08a614c0eeca6 (diff)
downloadsamba-cf07cd3feeea7cc1874c95affc67b428aabf412c.tar.gz
samba-cf07cd3feeea7cc1874c95affc67b428aabf412c.tar.bz2
samba-cf07cd3feeea7cc1874c95affc67b428aabf412c.zip
r12631: Now we have fixed the provision script, we don't need to work around
it here. Andrew Bartlett (This used to be commit f282fab6113cbd6a431139cbe7f021864f31c3d1)
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/hdb-ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/hdb-ldb.c b/source4/kdc/hdb-ldb.c
index 0e087e1d77..ceffad7ef7 100644
--- a/source4/kdc/hdb-ldb.c
+++ b/source4/kdc/hdb-ldb.c
@@ -355,7 +355,7 @@ static krb5_error_code LDB_message2entry(krb5_context context, HDB *db,
*entry_ex->entry.valid_end = nt_time_to_unix(acct_expiry);
}
- if ((ent_type != HDB_LDB_ENT_TYPE_KRBTGT) && (!(userAccountControl & UF_DONT_EXPIRE_PASSWD))) {
+ if (!(userAccountControl & UF_DONT_EXPIRE_PASSWD)) {
NTTIME must_change_time
= samdb_result_force_password_change((struct ldb_context *)db->hdb_db, mem_ctx,
domain_dn, msg,