summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-05 17:13:02 +0200
committerVolker Lendecke <vl@samba.org>2009-04-05 17:31:40 +0200
commit15f6d5e805490b35ed390f731944bc4ac4e3327b (patch)
tree297f667bf9d37371bad172efebaccbea60b57a47 /source3
parente5c7df34f2d461b0f348fc1b40275a97d918ed9e (diff)
downloadsamba-15f6d5e805490b35ed390f731944bc4ac4e3327b.tar.gz
samba-15f6d5e805490b35ed390f731944bc4ac4e3327b.tar.bz2
samba-15f6d5e805490b35ed390f731944bc4ac4e3327b.zip
Use the server config file for smbpasswd -a user in make test
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
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/script/tests/selftest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh
index a430d01a0e..d49c5b0ca1 100755
--- a/source3/script/tests/selftest.sh
+++ b/source3/script/tests/selftest.sh
@@ -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";