linux, samba config (smb.conf)

smb.conf:
[global]
workgroup = TELENUM
netbios name = SUN8194
netbios aliases = GW1 GW2
server string = Serveur passerelle
announce as = NT
security = server


allow trusted domains = yes
encrypt passwords = yes

username map = /usr/local/samba/lib/smbusers
restrict anonymous = false

log level = 0
max log size = 50
timestamp logs = no
time server = no

shared mem size = 5242880
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192
SO_RCVBUF=8192

character set = ISO8859-1
os level = 20
lm announce = true
local master = no
preferred master = no
dns proxy = no
name resolve order = host wins
wins server = 172.20.8.144
NIS homedir = no

oplocks = yes
level2 oplocks = true
fstype = NTFS
wide links = no
;getwd cache = yes


include = /usr/local/samba/lib/smb.conf.%L

[public]
comment = R\351pertoire public
path = /tmp
public = yes
writeable = yes
printable = no
browseable = yes
force user = nobody
force group = nobody

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
smb.conf.gw1:
[global]
hosts allow = ALL EXCEPT 192.168.242./255.255.255.0
password server = DOCSERVER, DATASERVER2
NIS homedir = yes

[homes]
comment = RĂ©pertoire personnel Unix sur TVNUM
public = no
writeable = yes
printable = no
browseable = no

[id_users]
comment = RĂ©pertoires personnels Unix
path = /home/users
public = no
writeable = yes
printable = no
browseable = yes

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
smb.conf.gw2:
[global]
hosts deny = ALL EXCEPT 192.168.242./255.255.255.0

workgroup = TESTSECUR
password server = PC4023

Share this

Related Posts

Previous
Next Post »