ricardogermano
(usa Debian)
Enviado em 28/09/2009 - 13:11h
Segue o conf
[global]
workgroup = LOCAL
netbios name = server-b
server string = Data Server
printcap name = cups
load printers = yes
printing = cups
printcap cache time = 60
show add printer wizard = No
interfaces = lo, eth0
bind interfaces only = Yes
log level = 1
log file = /var/log/samba/%m.log
max log size = 100
debug level =
syslog = 1
security = user
domain logons = no
preferred master = no
domain master = no
os level = 40
#######################
logon path =<<<<<-----(será que não seria a falta de comentar está linha?)
logon home =<<<<<-----(será que não seria a falta de comentar está linha?)
logon script = script.vbs
#######################
encrypt passwords = yes
username map = /etc/samba/smbusers
passdb backend = ldapsam:"ldap://192.168.0.1 ldap://192.168.0.2"
ldap ssl = no
ldap passwd sync = yes
ldap delete dn = Yes
ldap admin dn = cn=root,dc=empresa,dc=com,dc=br
ldap suffix = dc=empresa,dc=com,dc=br
ldap machine suffix = ou=Hosts
ldap user suffix = ou=People
ldap group suffix = ou=Group
ldap idmap suffix = sambaDomainName=empresa
idmap backend = ldap:ldap://192.168.0.1
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
enable privileges = yes
smb ports = 445 139
name resolve order = wins bcast hosts
wins support = yes
wins proxy = yes
dns proxy = yes
utmp = Yes
template shell = /bin/false
winbind use default domain = yes
map acl inherit = Yes
admin users = @socios @Domain Admins
strict locking = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins support = Yes
#lock directory = /opt/samba/
hidedotfiles = yes
nt acl support = yes
directory mask = 0770
directory security mask = 0770
force create mode = 0770
force security mode = 0770
force directory security mode = 770
force security mode = 770
force directory mode = 770
force unknown acl user = yes
security mask = 770
[netlogon]
comment = Servico de Logon em Rede
path = /data/netlogon
public = yes
browseable = Yes
read only = Yes