[Samba] samba config for guest users

Pol Hallen polhallen at gmail.com
Mon Nov 30 21:53:42 UTC 2020


Hello to all :)

I trying to use a guest user config with win10, the problem is: I cannot 
make modify to ALL win10 but only to someone.

I enabled SMB2 guest account on win10:

Local Group Policy editor:
--> Administrative Templates\Network\Lanman Workstation --> Enable 
insecure guest logons

works!
but other win10 with standard config cannot access totally to fileserver:

"Windows cannot access \\DEBIAN10-1"

thanks for help! :)

this is my samba config:

[global]
         security = user
         map to guest = Bad User
         nobody = guest
         netbios name = debian10-1
         guest account = nobody
         log file = /var/log/samba/%m.log

[public]
         comment = Public share
         path = /home/user/
         guest ok = yes
         read only = no
         force user = nobody
         force group = nobody
         create mask = 0664
         directory mask = 0775

[no public]
         path=/home/nopublic
         guest ok = no
         admin users = root
         valid users = user1, user2, user3, user4, user,5


-- 
Pol




More information about the samba mailing list