From 3ff79165715049f265ee35196c417a800808f088 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 28 Jun 2005 00:56:39 +0000 Subject: r7969: It seems reasonable that our tickets be marked renewable, in the absense of an apparent AD flag to control this behaviour. Andrew Bartlett (This used to be commit 9886aa6f0e64cdb30774bfba3f2c683a3dbec9c4) --- source4/kdc/hdb-ldb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/kdc') diff --git a/source4/kdc/hdb-ldb.c b/source4/kdc/hdb-ldb.c index 149ebeedca..231d7db436 100644 --- a/source4/kdc/hdb-ldb.c +++ b/source4/kdc/hdb-ldb.c @@ -109,6 +109,8 @@ static HDBFlags uf2HDBFlags(krb5_context context, int userAccountControl, enum h /* mark the principal as invalid to start with */ flags.invalid = 1; + flags.renewable = 1; + /* Account types - clear the invalid bit if it turns out to be valid */ if (userAccountControl & UF_NORMAL_ACCOUNT) { if (ent_type == HDB_LDB_ENT_TYPE_CLIENT || ent_type == HDB_LDB_ENT_TYPE_ANY) { -- cgit