mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
testprogs: Fix tests calling smbpasswd.
smbpasswd has a check that it is root so make sure we start with uid_wrapper being root! Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
77b7dfd37b
commit
363f76c305
@ -46,6 +46,9 @@ test_smbclient() {
|
||||
return $status
|
||||
}
|
||||
|
||||
UID_WRAPPER_ROOT=1
|
||||
export UID_WRAPPER_ROOT
|
||||
|
||||
CONFIG="--configfile=$PREFIX/dc/etc/smb.conf"
|
||||
export CONFIG
|
||||
|
||||
|
@ -42,6 +42,9 @@ test_smbclient() {
|
||||
return $status
|
||||
}
|
||||
|
||||
UID_WRAPPER_ROOT=1
|
||||
export UID_WRAPPER_ROOT
|
||||
|
||||
testit "pdbtest" $BINDIR/pdbtest -u pdbtest || failed=`expr $failed + 1`
|
||||
|
||||
NEWUSERPASS=testPaSS@01%
|
||||
|
Loading…
x
Reference in New Issue
Block a user