rafael_r
(usa CentOS)
Enviado em 02/04/2014 - 18:06h
smb.conf do BDC:
[global]
server string = Dominio DOM1
workgroup = DOM1
netbios name = servidor2
dos charset = 850
display charset = ISO8859-1
unix charset = ISO8859-1
ldap suffix = dc=dom1, dc=com, dc=br
ldap admin dn = cn=Manager , dc=dom1, dc=com, dc=br
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
idmap gid = 10000-20000
idmap uid = 10000-20000
idmap backend = ldap:ldap://127.0.0.1
passdb backend = ldapsam:ldap://127.0.0.1
ldap passwd sync = Yes
ldap delete dn = Yes
syslog = 0
max log size = 50
log file = /var/log/samba/clients.log
log level = 2
domain logons = Yes
os level = 255
domain master = No
time server = Yes
wins server = 172.16.0.21
logon drive = X:
logon script = scripts\logon.js
logon path = \\%L\%u\.profile
server signing = auto
map acl inherit = Yes
map to guest = Bad Password
username map = /etc/samba/smbusers
inherit permissions = Yes
strict allocate = Yes
inherit acls = Yes
bind interfaces only = Yes
smb ports = 139
interfaces = eth0, lo
name resolve order = wins hosts bcast
socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
deadtime = 15
use sendfile = yes
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
add user script = /usr/sbin/smbldap-useradd -m "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
delete user script = /usr/sbin/smbldap-userdel "%u"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
printcap name = cups
load printers = yes
printing = cups
show add printer wizard = yes
[homes]
comment = Home Directories
browseable = No
valid users = %S
read only = No
[netlogon]
comment = Network Logon Service
browseable = No
dos filemode = Yes
locking = No
guest ok = Yes
path = /mnt/data/netlogon
read only = No
[setor]
comment = Setores
browseable = No
guest ok = Yes
dos filemode = Yes
path = /mnt/data/setores
read only = No