LINUX.ORG.RU
решено ФорумAdmin

Самба - как позволить коннект клиентам из-под Windows XP?

 , , , ,


0

1

Linux Mint 22.1 Xia, локальная сеть через роутер, два компа.

Вот smb.conf

[global]
   workgroup = WORKGROUP

   server string = %h server (Samba, Ubuntu)

   wins support = yes
   map to guest = bad user
   security = user
   client ntlmv2 auth = yes
   client min protocol = NT1
   guest account = c

   server max protocol = NT1
   lanman auth = yes
   ntlm auth = yes

   log file = /var/log/samba/log.%m

   max log size = 1000

   logging = file

   panic action = /usr/share/samba/panic-action %d

   server role = standalone server

   obey pam restrictions = yes

   unix password sync = yes

   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

   pam password change = yes

   map to guest = bad user

   usershare allow guests = yes

[printers]
   comment = All Printers
   browseable = no
   path = /var/tmp
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no

[SmbServer]
   comment = Public Folder
   path = /home/c/SmbServer
   browseable = yes
   writable = yes
   read only = no
   public = yes
   guest ok = yes
   create mask = 0777
   directory mask = 0777

Шара, соответственно, SmbServer. Если комментирую server max protocol = NT1, шара начинает видеться из-под семёрочки. Так что с сеткой всё ОК, дело именно в настройках. Что ей не хватает?

★★★★★

Последнее исправление: tiinn (всего исправлений: 1)