smbclient no connect NetShareEnum failed

Harry Putnam reader at
Wed Feb 14 08:27:40 GMT 2001

Running recent cvs from head branch, attempting to list shares on a
machine running win2k.  Can anyone tell what is wrong here.
It does have several shares including a printer.  I can connect with:
smbclient /chub/SHARE -U Adminstrator  (and get prompted for password)

What does the line `NetShareEnum failed' below, mean 

                (Sorry about verbose output)

 # /usr/local/samba/source/bin/smbclient -d4 -N -L chub
params.c:OpenConfFile() - Unable to open configuration file "/usr/local/samba/lib/smb.conf":
        No such file or directory
Can't load /usr/local/samba/lib/smb.conf - run testparm to debug it
added interface nmask=
added interface nmask=
Client started (version pre-3.0.0).
resolve_lmhosts: Attempting lmhosts lookup for name chub<0x20>
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error was No such file or directory
resolve_hosts: Attempting host lookup for name chub<0x20>
Connecting to at port 139
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 65535
socket option SO_RCVBUF = 65535
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
 session request ok
Anonymous login successful
Domain=[JINX] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
 session setup ok
 tconx ok

        Sharename      Type      Comment
        ---------      ----      -------
NetShareEnum failed
Error returning browse list: ERRDOS - ERRnoaccess (Access denied.)

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        JINX                 (null)

More information about the samba mailing list