[Samba] Access to a share resource without password
Jeremy Allison
jra at samba.org
Fri Feb 25 09:52:54 MST 2011
On Fri, Feb 25, 2011 at 01:49:26PM -0300, J. L. Cabral wrote:
> OK, with Wolfgang advice I do:
>
> [global]
> workgroup = G-BAPRO.NET
> server string = Samba Server Version %v
> netbiosname = bangkok
> security = user
> smb passwd file = /etc/samba/smbpasswd
> guest account = guest
> [share]
> guest ok = yes
> path = /var/share
> writeable = yes
>
> and execute from Windows desktop:
>
> net use Z: \\bangkok\share
>
> after that I put user=guest and password=1234
>
> but I CAN'T ACCESS
>
> "guest" is the name of a local Linux account and it's a samba user
> (smbpasswd -a guest with pass "1234").
>
> What can I do ???
Add :
map to guest = bad password
in the [global] section.
Whatever you've screwed up in configuring the Samba user,
that should fix it :-). You want everyone to have guest
access, right ?
Jeremy.
More information about the samba
mailing list