http://linux.yaroslavl.ru/docs/serv/samba/samba_conf.html
http://interface31.ru/tech_it/2010/03/sozdanie-fajlovogo-servera-na-ubuntu-910.html
#======================= Global Settings =====================================
[global]
;include = /usr/local/samba/lib/smb.conf.%m
workgroup = ALTEK
netbios name = baff01
server string = baff01
security = user
encrypt passwords = yes
;unix password sync = yes
hosts allow = 192.168.0. 127.0.0.1
interfaces = 127.0.0.1/255.255.255.0 192.168.0.1/255.255.255.0
log file = /var/log/samba/log.%m
max log size = 10
log level = 1
os level = 255
local master = yes
preferred master = yes
;domain master = no
;domain logons = yes
name resolve order = lmhosts host wins bcast
;logon script = %m.bat
;logon script = %U.bat
logon path = \\%L\Profiles\%U
;wins support = yes
dns proxy = no
socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=16384 SO_RCVBUF=16384
;load printers = yes
;printcap name = /etc/printcap
;printcap name = lpstat
;printing = cups
#============================ Share Definitions ==============================
[homes]
comment = Only for YOU
browseable = no
writable = yes
hide dot files = yes
valid users = %S
create mask = 0644
directory mask = 0755
[1C-Bases]
comment = Allow all user
path = /home/shares/1C-Bases
writeable = yes
create mask = 0777
directory mask = 0777
[Documents]
comment = Allow all user
path = /home/shares/Documents
writeable = yes
create mask = 0777
directory mask = 0777
Samba PDC на Debian http://linux.cpms.ru/index.php/section-table/35-debian/85-debiansambapdc
Комментариев нет:
Отправить комментарий