From: Douglas Bagnall Date: Mon, 13 Nov 2023 23:46:21 +0000 (+1300) Subject: pytest: token_factory note that a flag is not set X-Git-Tag: talloc-2.4.2~514 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4cc91d28283bcded7d2d736d39345e9c4bec6f74;p=thirdparty%2Fsamba.git pytest: token_factory note that a flag is not set Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/token_factory.py b/python/samba/tests/token_factory.py index 74a0f6baa57..22f87f0f489 100644 --- a/python/samba/tests/token_factory.py +++ b/python/samba/tests/token_factory.py @@ -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