smbd: Use security_token_count_flag_sids() in open_np_file()
authorVolker Lendecke <vl@samba.org>
Tue, 18 Apr 2023 10:01:02 +0000 (12:01 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 16 May 2023 10:53:40 +0000 (10:53 +0000)
commit244ee8ad75c2c968997dfdd5eeb9e9cb97a191fb
treef8b1a78efd891351c729156360cedb0f4f94734f
parent5e8c7192ba5469547ba3101885dfbaba2f8181f4
smbd: Use security_token_count_flag_sids() in open_np_file()

Simpler logic in the caller

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15361
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_pipes.c