Skip to content

Commit

Permalink
s3:tests: Remove the -I SERVER_IP so that Kerberos auth works
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Schneider <[email protected]>
Reviewed-by: Gary Lockyer <[email protected]>
  • Loading branch information
cryptomilk committed Dec 9, 2019
1 parent 241f370 commit b05be65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source3/script/tests/test_smbclient_machine_auth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ ADDARGS="$*"
incdir=`dirname $0`/../../../testprogs/blackbox
. $incdir/subunit.sh

testit "smbclient //$SERVER/tmp" $SMBCLIENT //$SERVER/tmp --machine-pass -I $SERVER_IP -p 139 -c quit $ADDARGS
testit "smbclient //$SERVER/tmp" $SMBCLIENT //$SERVER/tmp --machine-pass -p 139 -c quit $ADDARGS

# Testing these here helps because we know the machine account isn't already this user/group
testit "smbclient //$SERVER/forceuser" $SMBCLIENT //$SERVER/tmp --machine-pass -I $SERVER_IP -p 139 -c quit $ADDARGS
testit "smbclient //$SERVER/forcegroup" $SMBCLIENT //$SERVER/tmp --machine-pass -I $SERVER_IP -p 139 -c quit $ADDARGS
testit "smbclient //$SERVER/forceuser" $SMBCLIENT //$SERVER/tmp --machine-pass -p 139 -c quit $ADDARGS
testit "smbclient //$SERVER/forcegroup" $SMBCLIENT //$SERVER/tmp --machine-pass -p 139 -c quit $ADDARGS

0 comments on commit b05be65

Please sign in to comment.