From: Stefan Metzmacher Date: Thu, 20 Mar 2025 00:50:11 +0000 (+0100) Subject: s4:kdc: pass HDB_F_{CROSS_REALM,S4U2SELF,S4U2PROXY}_PRINCIPAL as SDB_F_* X-Git-Tag: tevent-0.17.0~398 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d587593b93570cdc752141fe354112fbecc3735c;p=thirdparty%2Fsamba.git s4:kdc: pass HDB_F_{CROSS_REALM,S4U2SELF,S4U2PROXY}_PRINCIPAL as SDB_F_* Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/source4/kdc/sdb.h b/source4/kdc/sdb.h index 4f1c8c1ae1e..f8ce01024a7 100644 --- a/source4/kdc/sdb.h +++ b/source4/kdc/sdb.h @@ -124,6 +124,9 @@ struct sdb_entry { #define SDB_F_FOR_TGS_REQ 0x02000 /* fetch is for a TGS REQ */ #define SDB_F_ARMOR_PRINCIPAL 0x40000 /* fetch is for the client of an armor ticket */ #define SDB_F_USER2USER_PRINCIPAL 0x80000 /* fetch is for the server of a user2user tgs-req */ +#define SDB_F_CROSS_REALM_PRINCIPAL 0x100000 /* fetch is cross-realm ticket */ +#define SDB_F_S4U2SELF_PRINCIPAL 0x200000 /* fetch is for S4U2Self */ +#define SDB_F_S4U2PROXY_PRINCIPAL 0x400000 /* fetch is for S4U2Proxy */ #define SDB_F_HDB_MASK (SDB_F_DECRYPT | \ SDB_F_GET_CLIENT| \ @@ -135,7 +138,10 @@ struct sdb_entry { SDB_F_FOR_AS_REQ | \ SDB_F_FOR_TGS_REQ | \ SDB_F_ARMOR_PRINCIPAL| \ - SDB_F_USER2USER_PRINCIPAL) + SDB_F_USER2USER_PRINCIPAL| \ + SDB_F_CROSS_REALM_PRINCIPAL| \ + SDB_F_S4U2SELF_PRINCIPAL| \ + SDB_F_S4U2PROXY_PRINCIPAL) /* These are not supported by HDB */ #define SDB_F_FORCE_CANON 0x4000 /* force canonicalization */