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