1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

pytest: token_factory note that a flag is not set

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Douglas Bagnall 2023-11-14 12:46:21 +13:00 committed by Andrew Bartlett
parent 51d9444baa
commit 4cc91d2828

View File

@ -59,6 +59,11 @@ def list_to_claim(k, v, case_sensitive=False):
if case_sensitive:
c.flags |= security.CLAIM_SECURITY_ATTRIBUTE_VALUE_CASE_SENSITIVE
# The claims made here will not have the
# CLAIM_SECURITY_ATTRIBUTE_UNIQUE_AND_SORTED flag set, which makes
# them like resource attribute claims rather than real wire
# claims. It shouldn't matter much, as they will just be sorted
# and checked as if they were resource attribute claims.
return c