Web lists-archives.com

Re: [Samba] Public share ask for a password

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

On 2017-03-21 13:47 "c.buhtz--- via samba" <samba@xxxxxxxxxxxxxxx>
> 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.

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba