selftest: fix samba3.blackbox.inherit_owner.default test script test_inherit_owner.sh
commit49e080c32e085020c04a47eda3d6537359f5e081
authorRalph Boehme <slow@samba.org>
Sat, 7 Oct 2017 07:11:56 +0000 (7 09:11 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 25 Oct 2017 06:43:00 +0000 (25 08:43 +0200)
tree8b1765f3722a04425af9218d7d3e30e548057c5c
parent3044852f02f48a962844fbb483569568d0431208
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>
(backported from commit ff199d8e3ea7bd1ed12de8c39340ba640a2b83ca)
source3/script/tests/test_inherit_owner.sh
source3/selftest/tests.py