Re: [Samba] Public share ask for a password
- Date: Tue, 21 Mar 2017 16:21:23 +0100
- From: "L.P.H. van Belle via samba" <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Public share ask for a password
I suggest NOT to use fstab but systemd startups if you on debian jessie.
Get to know systemd and if you do i’ll bet you like it.
I know only on that hates it.. dont you Rowland. ;-)
Have look here for a good example for mount and automount.
and if you do need fstab, that example shows what your missing.
I used that link also for my NFSv4 Kerberos automounts as example.
And i can say works great.
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens c.buhtz--- via
> Verzonden: dinsdag 21 maart 2017 15:09
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: 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
To unsubscribe from this list go to the following URL and read the