André Luiz Paiz - IQ - Unicamp
2013-May-22 13:56 UTC
[Samba] Problem after change OpenLDAP Server
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
dnsambaDomainName=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
Seemingly Similar Threads
- security = domain -- samba adds its netbios name as samba domain to LDAP
- Sieve filtering SPAM and redirect
- need recipe for samba to do user authentication against a centos 5.5 openldap server (NO IDMAPS! NO PDC!)
- Samba 3.5 to 3.6
- Sieve filtering SPAM and redirect
