Shares are not listed (Access denied)
don_mccall at hp.com
Thu Nov 29 06:26:30 GMT 2001
using the commmand
smbclient -U% -L server is pretty much the same thing effectively;
you are telling samba to connect to the server with a null username password
pair, which is going to get you a guest connection IF you are allowed to
connect at all (registry settings on the server can restrict anonymous
If what you meant you are doing instead is "smbclinet
-U<username>%<password> -L server,
then I would expect this to work, if <username> and <password> are locally
on the server you are accessing. One note - if samba is in a different
or domain than the server you are doing the smbclient request to, and the
not LOCALLY defined on the server, you will probably need to use the
smbclient -U<domainname>\/<username>%<password> -L server
Hope this helps,
From: Roland Schmid [mailto:linux at net-service-24.de]
Sent: Thursday, November 29, 2001 2:48 AM
To: samba at lists.samba.org
Subject: Re: Shares are not listed (Access denied)
I have almost the same problem.
When I use smbclient -U% -L server I get a share List and Server List
but instead of listing the shares it says "Error returning browse
list: ERRDOS - ERRnoaccess (Access Denied)".
Using the same smbclient command on the local server the shares will be
The users exist in the remote server and in the smbpasswd.
Anyone got an idea what goes wrong?
Thanks for help.
> It looks like you are trying to get a browse list anonymously from
> a win2k box; in order for this to work, you have to have the local
> guest account on that box enabled, otherwise you will get this error.
> Hope this helps,
> -----Original Message-----
> From: Joseph Maxwell [mailto:jaymax at ns.net]
> Sent: Wednesday, November 28, 2001 11:47 AM
> To: samba at lists.samba.org
> Subject: smbclient -L hostname -N ==>error
> I am a Samba newbie, setting up Samba on a FreeBSD machine in a Windows
> (2K) environment [or the other way around] - all in a small LAN behind a
> DSL router / firewall. The machines recognize each other in that I can
> ping to both in either directions using either IP #'s or hostnames. On
> the PC's I am using LMHOST , no local WINS or local DNS (there are DNS's
> on the WAN side of the router/gateway), & /etc/hosts on the BSD
> platform. OK - so far, so good, - however on running "smbclient -L
> hostname -N" from the command line on the BSD
> the following was generated ==>
> added interface ip=192.168.2.13 bcast=192.168.2.255
> Anonymous login successful
> Domain=[DWORKS] OS=[Windows 5.0] Server=[Windows 2000 LAN
> Sharename Type Comment
> --------- ---- -------
> Error returning browse list: ERRDOS - ERRnoaccess (Access
> Server Comment
> --------- -------
> Workgroup Master
> --------- -------
> Obviously something is wrong w/ my setup but I can't tell what,
> hopefully some one will recognize and advise.
> -- Joe --
> PS: I have virtually all the services & protocols installed on the
> PC's, TCP/IP, Clients for Microsoft etc. Hope I have provided sufficient
> info for diagnosis.
To unsubscribe from this list go to the following URL and read the
More information about the samba