[Samba] Public share ask for a password

c.buhtz at posteo.jp c.buhtz at posteo.jp
Tue Mar 21 14:09:19 UTC 2017

Not only reading but understanding the manpages would help. ;)

On 2017-03-21 13:47 "c.buhtz--- via samba" <samba at lists.samba.org>
> This is the relevant line in the /etc/fstab
> //SPARKY/Public    /mnt/Sparky/Public    cifs rw,noauto,user 0 0

See the explanation of "password" in the manpage of "mount.cifs".
mount.cifs will always ask for a password (if it is not given implicit
with environment variable or credential file) also when guest users are
allowed on the samba share.

This means you have to add "password=" to the fstab line. Then it works

I can not see a technical or design reason about this behaviour.

More information about the samba mailing list