[PATCH] Add libsmbclient list shares test

Jeremy Allison jra at samba.org
Mon Aug 27 20:54:34 UTC 2018


On Mon, Aug 27, 2018 at 05:29:22PM +0200, Andreas Schneider via samba-technical wrote:
> Hi,
> 
> the attached patch adds a test for listing shares using libsmbclient and fixes 
> teh tests to run against a target with smbd.
> 
> 
> Please review and push if OK.

This patch looks good to me RB+, but when I run
it locally I get:

[2(8)/10 at 20s, 1 errors] samba3.libsmbclient(ad_dc)
Listing: smb://Administrator:locDCpass1@addc/tmp
DIR: .
DIR: ..
DIR: IA64
DIR: color
DIR: WIN40
DIR: x64
DIR: W32PPC
DIR: test2
DIR: test1
DIR: W32MIPS
DIR: W32X86
DIR: W32ALPHA
UNEXPECTED(failure): samba3.libsmbclient.list_shares(ad_dc)
REASON: Exception: Exception: ../source4/torture/libsmbclient/libsmbclient.c:574: Expression `ipc_share_found' failed: Failed to list IPC$ share

Looks like IPC$ isn't being reported from the ad_dc server.

I'll take a look, unless you get to it first.

Jeremy.



More information about the samba-technical mailing list