s3: tests: Add regression test for bug 13992.
authorJeremy Allison <jra@samba.org>
Thu, 28 Jan 2021 22:07:23 +0000 (14:07 -0800)
committerJeremy Allison <jra@samba.org>
Tue, 2 Feb 2021 19:54:34 +0000 (19:54 +0000)
commit068f4a977f0539f790809d580bf22d2362032e3d
treea4a6259287029bdcb7422c87237c78d29ad39755
parent35459b753aff4dfa7c7e7c70c9783844705a42c0
s3: tests: Add regression test for bug 13992.

Subtle extra test. Mark as knownfail for now.

'^ user1$' must appear MORE THAN ONCE, as it can read more than one
share. The previous test found user1, but only once as the bug only
allows reading the security descriptor for one share, and we were
unlucky that the first share security descriptor returned allows
user1 to read from it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13992

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
selftest/knownfail.d/bug-13992 [new file with mode: 0644]
source3/script/tests/test_net_rpc_share_allowedusers.sh