mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
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
This commit is contained in:
@ -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";
|
||||
|
||||
|
Reference in New Issue
Block a user