summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-04-07 12:16:16 +0200
committerStefan Metzmacher <metze@samba.org>2011-05-18 07:46:43 +0200
commit5f48c5df513eecaff162e72bfeff39b9390710e7 (patch)
treed144a9028be92300ee2fd81a63b2d8ee5152aae6 /source4
parent053ef0f605e8e99bf10e784cf383f954a6940d0a (diff)
downloadsamba-5f48c5df513eecaff162e72bfeff39b9390710e7.tar.gz
samba-5f48c5df513eecaff162e72bfeff39b9390710e7.tar.bz2
samba-5f48c5df513eecaff162e72bfeff39b9390710e7.zip
s4:kdc: UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION => flags.trusted_for_delegation
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/kdc/db-glue.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/kdc/db-glue.c b/source4/kdc/db-glue.c
index 732e553ca3..1d37be4020 100644
--- a/source4/kdc/db-glue.c
+++ b/source4/kdc/db-glue.c
@@ -159,6 +159,20 @@ static HDBFlags uf2HDBFlags(krb5_context context, uint32_t userAccountControl, e
if (userAccountControl & UF_TRUSTED_FOR_DELEGATION) {
flags.ok_as_delegate = 1;
}
+ if (userAccountControl & UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION) {
+ /*
+ * this is confusing...
+ *
+ * UF_TRUSTED_FOR_DELEGATION
+ * => ok_as_delegate
+ *
+ * and
+ *
+ * UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION
+ * => trusted_for_delegation
+ */
+ flags.trusted_for_delegation = 1;
+ }
if (!(userAccountControl & UF_NOT_DELEGATED)) {
flags.forwardable = 1;
flags.proxiable = 1;