Re: samba share without authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 25/02/2018 à 02:27, Gordon Messmer a écrit :
> On 02/24/2018 11:57 AM, Tom Horsley wrote:
>> (which they either made impossible or made so obscure it
>> might as well be impossible).
> 
> 
> # cat /etc/samba/smb.conf
> [global]
> ...
>    map to guest = Bad User
> [music]
>     path = /home/samba/Music
>     guest ok = Yes
> 
> $ smbclient //storage/music/ -U ''
> Enter SAMBA\guest's password:
> Try "help" to get a list of possible commands.
> smb: \> ls
>   .                                   D        0  Sat Dec 10 21:27:32 2016
>   ..                                  D        0  Mon Feb 19 11:19:10 2018
> 
> Logged in with no password.

Ok! But this is not enough, you have to create a kind of dummy user on
your system and make this user a samba user.

See:
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server


-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux