Windows XP ไม่สามารถเชื่อมต่อกับ samba share (เซิร์ฟเวอร์ linux 20.04)

Aug 18 2020

ฉันยังใหม่กับเซิร์ฟเวอร์ linux และ samba

ฉันพยายามตั้งค่าเซิร์ฟเวอร์แซมบ้า windows 7 และ windows 10 ของฉันสามารถเชื่อมต่อกับเซิร์ฟเวอร์แซมบ้าได้อย่างสมบูรณ์แบบ

ปัญหาคือ windows XP ไม่สามารถเชื่อมต่อหรือเรียกดูเซิร์ฟเวอร์ samba ได้กล่าวว่า: "windows ไม่พบ" \ server "ตรวจสอบการสะกดและลองอีกครั้ง ..... "

และนี่คือการตั้งค่าคอนฟิกของฉัน:

[global]
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = yes
winbind trusted domains only = yes
username map = /etc/samba/smbusers
os level = 20
client min protocol = NT1
encrypt passwords = yes
map to guest = bad user
workgroup = WORKGROUP
netbios name = server
security = user
panic action = /usr/share/samba/panic-action %d
guest ok = yes
lanman auth = yes
log file = /var/log/samba/log.%m
max log size = 1000
ntlm auth = yes
passwd program = /usr/bin/passwd %u
obey pam restrictions = yes
logging = file
winbind use default domain = yes
server string = 
usershare allow guests = yes
auto services = global
server role = standalone server
pam password change = yes

กรุณาช่วย

คำตอบ

2 RowlandPenny Aug 18 2020 at 18:17

คุณมีชุด 'client min protocol = NT1' มีการตั้งค่าอื่นที่คล้ายกัน 'server min protocol' ซึ่งจาก Samba 4.11.0 ถูกตั้งค่าเป็น SMBv2 XP ของคุณอาจใช้เฉพาะ SMBv1 ดังนั้นจะไม่สามารถมองเห็นหรือเชื่อมต่อกับเซิร์ฟเวอร์ Samba ของคุณได้

ดังนั้นคุณต้องแก้ไข[global]ส่วนใน/etc/samba/smb.confและเพิ่มserver min protocol = NT1ตัวเลือกที่นี่ จากนั้นเริ่มบริการ Samba ใหม่