[Samba] Problem after change OpenLDAP Server
André Luiz Paiz - IQ - Unicamp
andre.paiz at iqm.unicamp.br
Wed May 22 07:56:38 MDT 2013
Hi everybody.
I´ve installed a new OpenLdap Server and performed the migration of the
database. All information was imported sucessfull because all my other
authentication services are working perfectly.
I have a domain in my ldap server and a FreeBSD machine that work as domain
PDC for a domain called POS.
After the migration, I cannot perform any password change/add in the LDAP
database. The error is this:
[root at micah etc]# smbpasswd -a andre-teste2
add_new_domain_info: failed to add domain dn=
sambaDomainName=POS,dc=iqm,dc=unicamp,dc=br with: Already exists
unknown
smbldap_search_domain_info: Adding domain info for POS failed with
NT_STATUS_UNSUCCESSFUL
[root at micah etc]# net getlocalsid
[2013/05/22 10:49:41, 0] lib/smbldap_util.c:310(smbldap_search_domain_info)
smbldap_search_domain_info: Adding domain info for POS failed with
NT_STATUS_UNSUCCESSFUL
SID for domain MICAH is: S-1-5-21-1198179666-38845731-2884414512
[root at micah etc]# net getdomainsid
[2013/05/22 10:49:47, 0] lib/smbldap_util.c:310(smbldap_search_domain_info)
smbldap_search_domain_info: Adding domain info for POS failed with
NT_STATUS_UNSUCCESSFUL
SID for local machine MICAH is: S-1-5-21-1198179666-38845731-2884414512
SID for domain POS is: S-1-5-21-1198179666-38845731-2884414512
Why Samba is trying to add a new domain? How can I fix that?
All my configurations are correct, because I have not changed anything in
the Samba Server.
Is there some command to re-register this PDC as a Domain Controller for
that domain? The Sids are the same
nothing has changed.
I have tried everything and I really don´t know where to go from here
Atenciosamente
André Luiz Paiz
Analista de Redes
Instituto de Química Unicamp
<mailto:andre.paiz at iqm.unicamp.br> andre.paiz at iqm.unicamp.br
Telefone: (19)3521-0197
More information about the samba
mailing list