1
0
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:
Andreas Schneider 2013-07-29 13:50:06 +02:00 committed by Stefan Metzmacher
parent 77b7dfd37b
commit 363f76c305
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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%