smbclient no connect NetShareEnum failed

Harry Putnam reader at newsguy.com
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 ip=206.xxx.xxx bcast=206.xxx.255 nmask=255.255.255.0
added interface ip=192.168.xxx.4 bcast=192.168.xxx.255 nmask=255.255.255.0
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 192.168.xxx 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