joeliosp
(usa Suse)
Enviado em 14/12/2011 - 16:14h
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2008-04-23
[global]
ldap ssl = Start_tls
admin users = @admin
time server = Yes
netbios name = suse
cups options = raw
ldap passwd sync = Yes
printing = cups
logon script = usuarios.bat
ldap timeout = 5
local master = Yes
workgroup = empresa
os level = 160
ldap admin dn = cn=admin,dc=empresa
printcap name = cups
security = user
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
getwd cache = Yes
usershare allow guests = Yes
directory mode = 777
log level = 1
ldap user suffix = ou=people
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
include = /etc/samba/dhcp.conf
deadtime = 15
map to guest = Bad User
domain master = Yes
idmap backend = ldap:ldap://localhost
encrypt passwords = Yes
logon home = \\%L\%U\.9xprofile
passdb backend = ldapsam:ldap://localhost smbpasswd
printcap cache time = 750
ldap delete dn = No
ldap machine suffix = ou=Machines
ldap group suffix = ou=group
server string = samba
ldap suffix = dc=empresa
create mode = 777
ldap idmap suffix = ou=Idmap
ldap replication sleep = 1000
domain logons = Yes
create mask = 777
directory mask = 777
wins support = No
## Share disabled by YaST
# [homes]
# comment = Home Directories
# valid users = %S, %D%w%S
# browseable = No
# read only = No
# inherit acls = Yes
## Share disabled by YaST
# [profiles]
# comment = Network Profiles Service
# path = %H
# read only = No
# store dos attributes = Yes
# create mask = 0600
# directory mask = 0700
## Share disabled by YaST
# [users]
# comment = All users
# path = /home
# read only = No
# inherit acls = Yes
# veto files = /aquota.user/groups/shares/
# browseable = No
## Share disabled by YaST
# [groups]
# comment = All groups
# path = /home/groups
# read only = No
# inherit acls = Yes
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = admin
browseable = No
read list = @usuarios
read only = Yes
[volume_l]
comment = Pastas da Rede
inherit acls = Yes
path = /home/volume
read only = No
force create mode = 777
force directory mode = 777
locking = No
oplocks = No
veto oplock files = *.DBF/
browseable = Yes
valid users = %U
create mask = 0660
directory mask = 0770
write list = @usuarios