Search Suggest

How to set up a Samba file server to use with Windows 7

  How to set up a Samba file server to use with Windows 7

วิธีทำ
1. เซทค่าคอนฟิก samba configure ดังนี้
vim /etc/samba/smb.conf

# Global parameters
[global]
workgroup = workgroup
server string = Samba Server %v on %h
encrypt passwords = Yes
update encrypted = Yes
log level = 3
log file = /var/log/samba/%m.log
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 65
dns proxy = No
path = /data/user/pallet
admin users = @root, @adm
write list = @root,@adm
printer admin = @root, @adm
printing = lprng
dos filetimes = Yes
Dos filetime resolution = Yes
fake directory create times = Yes
security = users
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[Downloads]
comment = Share file for setup program
write list = user01,user02
path = /home/user/Downloads
force create mode = 0777
directory mask = 0775
valid users = user01,user02

หลังแก้ไขค่าคอนฟิกเสร็จ restart service samba ดังนี้
/etc/init.d/samba restart
2. สำหรับ Windows 7 กดที่ Windows start แล้วพิมพ์ local security เปิด Local Security Policy ดังภาพด้านล่าง

3. คลิ๊กตามลำดับดังนี้
3.1 หมายเลข 1 Security Options
3.2 หมายเลข 2 ดับเบิ้ลคลิ๊กNetwork security: LAN Management authentication level
3.2 หมายเลข 3 คลิ๊ก Drop list : Send LM & NTLM responses


























4. ดับเบิ้ลคลิ๊ก Network security: Minimum session security for NTLM SSP … คลิ๊กเครื่องหมายถูกออก ดังหมายเลข2




5. เรียกใช้งาน Share file samba ดังนี้ \\ip sharefile\sharefile


Đăng nhận xét