Domínio BDC não encontra PDC

1. Domínio BDC não encontra PDC

Rafael Ritzel
rafael_r

(usa CentOS)

Enviado em 02/04/2014 - 17:12h

Boa tarde,

tenho 1 controlador de domínio master (PDC) e outro controlador de domínio BDC.

PDC (SO: Gentoo Base System release 1.12.11.1 / Samba: versão 3.3.16)
BDC (SO: Gentoo Base System release 1.12.11.1 / Samba: versão 3.0.33)


O BDC logo após encontrar o domínio master perde conexão conforme logs do nmbd:

[2014/02/06 16:04:19, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****

Samba name server SERVIDOR2 is now a local master browser for workgroup DOM1 on subnet 10.14.7.1

*****
[2014/02/06 16:04:39, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name DOM1<1b> for the workgroup DOM1.
Unable to sync browse lists in this workgroup.


Domínio: DOM1
Netbios do BDC: SERVIDOR2

Com isso não consigo adicionar computadores no domínio pois o servidor BDC não está se comunicando com o Domain Master (PDC):

servidor2 ~ # net rpc testjoin
Unable to find a suitable server
Join to domain 'DOM1' is not valid


Colocando o "-S" funciona:

servidor2 ~ # net -S 127.0.0.1 rpc testjoin
Password:
Join to 'DOM1' is OK

Em anexo segue smb.conf do BDC.


Alguma idéia?


  


2. Re: Domínio BDC não encontra PDC

Rafael Ritzel
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








Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts