]> git.ipfire.org Git - thirdparty/samba.git/commit
selftest: fix samba3.blackbox.inherit_owner.default test script test_inherit_owner.sh
authorRalph Boehme <slow@samba.org>
Sat, 7 Oct 2017 07:11:56 +0000 (09:11 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 9 Oct 2017 21:01:17 +0000 (23:01 +0200)
commitff199d8e3ea7bd1ed12de8c39340ba640a2b83ca
tree2d90ff5d0d3c25d7fa309b1bfdde02b6bad16193
parent3aff6315097cc9db0216bc18aa793a996930b0f4
selftest: fix samba3.blackbox.inherit_owner.default test script test_inherit_owner.sh

Grant the test-user SeRestorePrivilege, this is needed for
give-ownership operations. And then granting SeRestorePrivilege requires
`net`, so add that as an additional argument to the script.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=7933

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/script/tests/test_inherit_owner.sh
source3/selftest/tests.py