]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Use the server config file for smbpasswd -a user in make test
authorVolker Lendecke <vl@samba.org>
Sun, 5 Apr 2009 15:13:02 +0000 (17:13 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 5 Apr 2009 15:31:40 +0000 (17:31 +0200)
Without this, smbpasswd generated a SID for the netbios name TORTURE_6. This SID
somehow ended up in the user's token for quite a number of tests, leading to
NT_STATUS_ACCESS_DENIED. I haven't fully understood what is going on here, but
with this patch I could not reproduce the ACCESS_DENIED anymore. It might be
coincidence and this patch does not fix anything, but for me it does not really
hurt either.

Metze, please check!

Volker

source3/script/tests/selftest.sh

index a430d01a0ee38e3270cc90412fc0ea47cc87c598..d49c5b0ca1e86fff075470f7d580b2cb34f29440 100755 (executable)
@@ -282,7 +282,7 @@ MAKE_TEST_BINARY="bin/smbpasswd"
 export MAKE_TEST_BINARY
 
 (echo $PASSWORD; echo $PASSWORD) | \
-       bin/smbpasswd -c $CONFFILE -L -s -a $USERNAME >/dev/null || exit 1
+       bin/smbpasswd -c $SERVERCONFFILE -L -s -a $USERNAME >/dev/null || exit 1
 
 echo "DONE";