Я не могу получить доступ в файлы как анонимные или учетная запись Linux в то время как security = users
но когда security = share
все хорошо работает. Моя конфигурация:
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
[global]
workgroup = WORKGROUP
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
security = share
netbios name = DamianR
host allow = 192.168.
encrypt passwords = yes
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
hide dot files = Yes
create mask = 640
directory mask = 640
valid users = damian
[publiczny]
comment = publiczny
inherit acls = Yes
path = /home/damian/Publiczny
available = yes
browseable = yes
writable = no
read only = yes
guest ok = yes
hide dot files = Yes
По тому, как я хотел бы спросить, безопасна ли конфигурация? Я имею в виду, шифруется ли пароль при входе в систему.
Я обнаружил проблему. строка security = users
должна быть перед сопоставить гостю = Bad User