Re: [Samba] Public share ask for a password
- Date: Tue, 21 Mar 2017 18:42:29 +0530
- From: amit kumar via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Public share ask for a password
Try this config
# vim /etc/samba/smb.conf
workgroup = WORKGROUP
security = user
map to guest = Bad User
passdb backend = tdbsam
path = /share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
# service smb restart
On 03/21/2017 06:17 PM, c.buhtz--- via samba wrote:
> I am using a Samba-server (2:4.2.14+dfsg-0+deb8u2) on Debian stable.
> The Samba-client (samba-common ist 2:4.5.6+dfsg-1) runs on a Debian
> When I try to mount a Public share I am ask for a password. I don't
> know why. There should be no need for a password. And I can log in no
> matter if or which password I enter.
> I can I prevent the password questions?
> The is the IMO relevant part of my /etc/samba/smb.conf
> map to guest = Bad User
> usershare allow guests = no
> path = /Daten/Public
> browsable = yes
> guest ok = yes
> writeable = yes
> This is the relevant line in the /etc/fstab
> //SPARKY/Public /mnt/Sparky/Public cifs rw,noauto,user 0 0
> I am not sure on which side I did something wrong.
There are three ways to get something done:
(1) Do it yourself.
(2) Hire someone to do it for you.
(3) Forbid your kids to do it.
To unsubscribe from this list go to the following URL and read the