svn commit: samba r13069 - in branches/SAMBA_4_0/source/kdc: .
tridge at samba.org
tridge at samba.org
Sun Jan 22 23:19:49 GMT 2006
Author: tridge
Date: 2006-01-22 23:19:48 +0000 (Sun, 22 Jan 2006)
New Revision: 13069
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13069
Log:
adding a hack on instructions from andrew
Modified:
branches/SAMBA_4_0/source/kdc/hdb-ldb.c
Changeset:
Modified: branches/SAMBA_4_0/source/kdc/hdb-ldb.c
===================================================================
--- branches/SAMBA_4_0/source/kdc/hdb-ldb.c 2006-01-22 23:19:09 UTC (rev 13068)
+++ branches/SAMBA_4_0/source/kdc/hdb-ldb.c 2006-01-22 23:19:48 UTC (rev 13069)
@@ -355,7 +355,8 @@
*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,
More information about the samba-cvs
mailing list