Groups | Search | Server Info | Login | Register
| From | "L.P.H. van Belle via samba" <samba@lists.samba.org> |
|---|---|
| Newsgroups | linux.samba |
| Subject | Re: [Samba] Public share ask for a password |
| Date | 2017-03-21 16:30 +0100 |
| Message-ID | <tntTt-5b0-59@gated-at.bofh.it> (permalink) |
| References | <tnrHY-3KN-13@gated-at.bofh.it> <tnsNI-4r2-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hai, 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. http://michlstechblog.info/blog/systemd-mount-examples-for-cifs-shares/ 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. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces@lists.samba.org] Namens c.buhtz--- via > samba > Verzonden: dinsdag 21 maart 2017 15:09 > Aan: samba@lists.samba.org > 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@lists.samba.org> > wrote: > > 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 > well. > > I can not see a technical or design reason about this behaviour. > <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858343> > > -- > 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 instructions: https://lists.samba.org/mailman/options/samba
Back to linux.samba | Previous | Next — Previous in thread | Next in thread | Find similar
[Samba] Public share ask for a password "c.buhtz--- via samba" <samba@lists.samba.org> - 2017-03-21 14:10 +0100
Re: [Samba] Public share ask for a password amit kumar via samba <samba@lists.samba.org> - 2017-03-21 14:20 +0100
Re: [Samba] Public share ask for a password "c.buhtz--- via samba" <samba@lists.samba.org> - 2017-03-21 14:30 +0100
Re: [Samba] Public share ask for a password amit kumar via samba <samba@lists.samba.org> - 2017-03-21 15:00 +0100
Re: [Samba] Public share ask for a password "c.buhtz--- via samba" <samba@lists.samba.org> - 2017-03-21 15:20 +0100
Re: [Samba] Public share ask for a password "L.P.H. van Belle via samba" <samba@lists.samba.org> - 2017-03-21 16:30 +0100
Re: [Samba] Public share ask for a password Rowland Penny via samba <samba@lists.samba.org> - 2017-03-21 16:50 +0100
Re: [Samba] Public share ask for a password "L.P.H. van Belle via samba" <samba@lists.samba.org> - 2017-03-21 17:30 +0100
Re: [Samba] Public share ask for a password Rowland Penny via samba <samba@lists.samba.org> - 2017-03-21 17:50 +0100
csiph-web