From 9886aa6f0e64cdb30774bfba3f2c683a3dbec9c4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 28 Jun 2005 00:56:39 +0000 Subject: [PATCH] r7969: It seems reasonable that our tickets be marked renewable, in the absense of an apparent AD flag to control this behaviour. Andrew Bartlett --- source/kdc/hdb-ldb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/kdc/hdb-ldb.c b/source/kdc/hdb-ldb.c index 149ebeedca7..231d7db436b 100644 --- a/source/kdc/hdb-ldb.c +++ b/source/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) { -- 2.11.4.GIT