Samba配置

samba - LanManager-like file and printer server for Unix.

libsmbclient - Shared library that allows applications to talk to SMB servers

 

#apt-get install samba samba-client

 

#mkdir chun

#useradd chuns

#smbpasswd -a chuns

 

vi /etc/samba/smb.conf

 

[global]

workgroup = debian
netbios name = debianserver
server string = %h server (Samba %v)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0

 

[SAMBA]

path=/samba
browseable=yes
writeable=yes
valid users = ruchi
admin users = debain

#testparm

Now you need to restart the samba to take the new changes effect

#/etc/init.d/samba restart

 

 

#smbclient -L //debianserver -U chuns

 

參考文檔:

http://www.debianhelp.co.uk/samba.htm

發佈了23 篇原創文章 · 獲贊 0 · 訪問量 2354
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章