selftest: net command needs to think it is root in clustered case
commit822604a112cc769320c813548f96769589d19b6c
authorMartin Schwenke <martin@meltin.net>
Thu, 16 Jan 2020 22:42:19 +0000 (17 09:42 +1100)
committerMartin Schwenke <martins@samba.org>
Wed, 19 Feb 2020 09:38:40 +0000 (19 09:38 +0000)
tree9171d1a483fbf974f7c5cc1d4d8cb33c801515cd
parentc779dfe70f8854a502b88a99b035550edf35a447
selftest: net command needs to think it is root in clustered case

So just run it "as root" all the time.

Something similar is already done for other things in
Samba3::provision(), such as running smbpasswd in
Samba3::createuser().

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
selftest/target/Samba3.pm