[PATCH] Add libsmbclient list shares test
Jeremy Allison
jra at samba.org
Tue Aug 28 19:56:03 UTC 2018
On Tue, Aug 28, 2018 at 08:55:19AM +0200, Andreas Schneider via samba-technical wrote:
> On Monday, 27 August 2018 22:54:34 CEST Jeremy Allison wrote:
> > 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.
>
> This is strange, there should always be an IPC$ share or you can't connect to
> RPC via smb named pipes ...
>
> I get:
>
> ALL OK (1 tests in 1 testsuites)
>
> running the test here.
OK, I'll try pushing it to see if it's a local issue
I haven't figured out.
More information about the samba-technical
mailing list