NDVR2200F
Installation Guide & User’s
1/8/2008
30/66
5.6.2. Samba Setting
To activate samba server at time of system booting, use ntsysv command to start smb service.
# ntsysv
In addition, edit the /etc/samba/smb.conf file as below.
Once it is done, restart the samba daemon.
# service smb restart
[global]
workgroup = workgroup
server string = Samba Server
hosts allow = 192.168.1.22/255.255.255.0
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/smbd.log
max log size = 50
security = SHARE
smb passwd file = /etc/samba/smbpasswd
client code page = 949
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
#================ Share Definitions ===============
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
[public]
comment = home samba
path = /home/public
public = yes
writable = yes