[PATCH] Fix flakey smbclient tests

Andreas Schneider asn at samba.org
Tue Jul 18 10:56:06 UTC 2017


Hi,


the attached pachset should fix:


UNEXPECTED(failure): samba3.blackbox.smbclient_s3.sign (nt4_member) member 
creds.follow symlinks = no(nt4_member)
REASON: Exception: Exception: CLI_FORCE_INTERACTIVE=yes /memdisk/autobuild/fl/
b22467/samba/bin/smbclient -ULOCALNT4MEMBER3/autobuild%localnt4member3pass //
LOCALNT4MEMBER3/nosymlinks -I 127.0.0.4 --configfile=/memdisk/autobuild/fl/
b22467/samba/bin/ab/client/client.conf --signing=required
NT_STATUS_ACCESS_DENIED opening remote file 	est\source
CLI_FORCE_INTERACTIVE=yes /memdisk/autobuild/fl/b22467/samba/bin/smbclient -
ULOCALNT4MEMBER3/autobuild%localnt4member3pass //LOCALNT4MEMBER3/nosymlinks -I 
127.0.0.4 --configfile=/memdisk/autobuild/fl/b22467/samba/bin/ab/client/
client.conf --signing=required
CLI_FORCE_INTERACTIVE=yes /memdisk/autobuild/fl/b22467/samba/bin/smbclient -
ULOCALNT4MEMBER3/autobuild%localnt4member3pass //LOCALNT4MEMBER3/nosymlinks -I 
127.0.0.4 --configfile=/memdisk/autobuild/fl/b22467/samba/bin/ab/client/
client.conf --signing=required
NT_STATUS_FILE_IS_A_DIRECTORY opening remote file 	estooar	estfile
Domain=[SAMBA-TEST] OS=[] Server=[]
smb: \> cd testooar
smb: 	estooar\> ls
  .                                   D        0  Tue Apr 11 12:31:04 2017
  ..                                  D        0  Tue Apr 11 12:31:04 2017
  testfile                            D        0  Tue Apr 11 12:31:04 2017

		39240824 blocks of size 1024. 33619008 blocks available
smb: 	estooar\> get testfile -
NT_STATUS_FILE_IS_A_DIRECTORY opening remote file 	estooar	estfile
smb: 	estooar\> quit
failed - NT_STATUS_XXXX doing cd fooar; get testfile on 
osymlinks

FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites)



Review and push appreciated.


Thanks,



	Andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_smbclient_test.patch
Type: text/x-patch
Size: 7190 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170718/d2fb41eb/fix_smbclient_test.bin>


More information about the samba-technical mailing list