[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-949-g8ba3b8c

Volker Lendecke vl at samba.org
Sat Dec 29 12:13:49 GMT 2007


The branch, v3-2-test has been updated
       via  8ba3b8cf7aca657ad8426981d810c36ee6a34a2f (commit)
      from  e276e48177f890531ee8b4024c90352f284d4608 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 8ba3b8cf7aca657ad8426981d810c36ee6a34a2f
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Dec 29 13:10:25 2007 +0100

    Attempt to fix the AIX make test failures
    
    For some reason AIX does not return the sender address in the AF_UNIX recvfrom.
    So the faked netbios name lookup does not work with socket wrapper, nmbd can't
    know where to send the reply. This patch works around this by telling smbclient
    explicitly where to connect.
    
    If there's any AIX experts listening -- how do I get the sender address from
    AF_UNIX recvfrom?
    
    Volker

-----------------------------------------------------------------------

Summary of changes:
 source/script/tests/test_smbclient_s3.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/script/tests/test_smbclient_s3.sh b/source/script/tests/test_smbclient_s3.sh
index 3a8f3bd..fdade5a 100755
--- a/source/script/tests/test_smbclient_s3.sh
+++ b/source/script/tests/test_smbclient_s3.sh
@@ -24,7 +24,7 @@ test_noninteractive_no_prompt()
     prompt="smb"
 
     echo du | \
-	$SMBCLIENT $CONFIGURATION "$@" -U$USERNAME%$PASSWORD //$SERVER/tmp 2>&1 | \
+	$SMBCLIENT $CONFIGURATION "$@" -U$USERNAME%$PASSWORD //$SERVER/tmp -I SERVER_IP 2>&1 | \
     grep $prompt
 
     if [ $? = 0 ] ; then
@@ -48,7 +48,7 @@ quit
 EOF
 
     CLI_FORCE_INTERACTIVE=yes \
-    $SMBCLIENT $CONFIGURATION "$@" -U$USERNAME%$PASSWORD //$SERVER/tmp \
+    $SMBCLIENT $CONFIGURATION "$@" -U$USERNAME%$PASSWORD //$SERVER/tmp -I $SERVER_IP \
 	< $tmpfile 2>/dev/null | \
     grep $prompt
 
@@ -64,7 +64,7 @@ EOF
 }
 
 testit "smbclient -L $SERVER_IP" $SMBCLIENT $CONFIGURATION -L $SERVER_IP -N -p 139 || failed=`expr $failed + 1`
-testit "smbclient -L $SERVER" $SMBCLIENT $CONFIGURATION -L $SERVER -N -p 139 || failed=`expr $failed + 1`
+testit "smbclient -L $SERVER -I $SERVER_IP" $SMBCLIENT $CONFIGURATION -L $SERVER -I $SERVER_IP -N -p 139 || failed=`expr $failed + 1`
 
 testit "noninteractive smbclient does not prompt" \
     test_noninteractive_no_prompt || \


-- 
Samba Shared Repository


More information about the samba-cvs mailing list