rvs_rafa
(usa openSUSE)
Enviado em 19/03/2014 - 14:43h
danniel-lara escreveu:
posta ai o seu smb.conf
[global]
workgroup = servidor01
netbios name = LINUX
server string = SERVIDOR DE ARQUIVOS
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
# include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
# logon drive = U:
user share allow guests = Yes
security = domain
encrypt passwords = yes
domain master = yes
preferred master = yes
local master = yes
os level = 100
domain logons = yes
# logon script = %G.bat
logon script = %U.bat
wins support = yes
wins proxy = yes
dns proxy = no
max wins ttl = 518400
time server = yes
ntlm auth = yes
lanman auth = yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
veto files = /*.scr/*.com/*.vbs/*.inf/*.lnk/*.vmx
usershare allow guests = No
#[homes]
# comment = Pasta do usuário
# valid users = %S, %D%w%S
# browseable = No
# read only = No
# inherit acls = Yes
# create mask = 0700
# directory mask = 0700
[profiles]
comment = Network Profiles Service
browseable = No
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
# [users]
# comment = All users
# path = /home
# read only = No
# inherit acls = Yes
# veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
browseable = No
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[netlogon]
comment = Servico de logon
path = /var/lib/samba/netlogon
Guest ok= yes
read only = yes
writable = No
browseable = No
[Publico]
comment = PASTA-PUBLICO
path = /home/Publico/
writeable = Yes
browseable = Yes
available = Yes
username = @administradores, @usuarios
valid users = @administradores, @usuarios
admin users = @administradores, @usuarios
write list = @administradores, @usuarios
create mask = 0770
force create mode = 0750
directory mask = 0750
inherit acls = Yes
vfs objects = recycle
recycle:repository = .recycle
[Backup]
comment = PASTA-BACKUP
path = /home/Backup
writeable = Yes
browseable = Yes
available = Yes
username = @administradores, @usuarios
valid users = @administradores, @usuarios
admin users = @administradores
create mask = 0770
directory mask = 0750
inherit acls = yes
vfs objects = recycle