summaryrefslogtreecommitdiff
path: root/source4/kdc/ad_claims.h
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2023-05-17 11:55:16 +1200
committerAndrew Bartlett <abartlet@samba.org>2023-05-18 01:03:37 +0000
commit10d6d77a2720577e51bc93c51c85261c1e3d37b8 (patch)
tree587c1f6b6768e616456f4720bd503df249830d3b /source4/kdc/ad_claims.h
parent3d9863cfdc443817b1fd7e25cb30b5363a47fa58 (diff)
downloadsamba-10d6d77a2720577e51bc93c51c85261c1e3d37b8.tar.gz
s4:kdc: Have get_claims_for_principal() take the entire principal
The ldb_message contains more information than just the DN, such as which authentication policy or silo is assigned. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/kdc/ad_claims.h')
-rw-r--r--source4/kdc/ad_claims.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/ad_claims.h b/source4/kdc/ad_claims.h
index aea9c8d07cc..383d25f76aa 100644
--- a/source4/kdc/ad_claims.h
+++ b/source4/kdc/ad_claims.h
@@ -26,7 +26,7 @@
int get_claims_for_principal(struct ldb_context *ldb,
TALLOC_CTX *mem_ctx,
- struct ldb_dn *principal_dn,
+ const struct ldb_message *principal,
DATA_BLOB *claims_blob);
#endif