]> git.ipfire.org Git - thirdparty/samba.git/commit
tests/krb5: Correct authentication policy SDDL
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 3 Nov 2023 00:51:27 +0000 (13:51 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 7 Nov 2023 21:54:32 +0000 (21:54 +0000)
commit64806f37ab08c51d2fac23d7f153c3b2f0c5d984
tree2802f5419a7709cdf548d7ad3c3aac1c1a0cf68a
parent6b2de4748889a0b5674758169439cb7fb2106e7d
tests/krb5: Correct authentication policy SDDL

There is no claim called ‘abc’, so the condition ‘(abc)’ is always going
to fail. Replace this with a condition using ‘Member_of’.

Furthermore, an ACL containing only Deny ACEs will only ever deny. Add a
trailing Allow ACE so that the ACL might allow other principals.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/krb5/conditional_ace_tests.py