diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-06-28 00:56:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:55 -0500 |
commit | 3ff79165715049f265ee35196c417a800808f088 (patch) | |
tree | b56b46f648a3af2bcde539b1c45371058b2f9a5c | |
parent | f9861c9c5aee332545a9ea51683da28a87bdb10c (diff) | |
download | samba-3ff79165715049f265ee35196c417a800808f088.tar.gz samba-3ff79165715049f265ee35196c417a800808f088.tar.bz2 samba-3ff79165715049f265ee35196c417a800808f088.zip |
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)
-rw-r--r-- | source4/kdc/hdb-ldb.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |