BDC can't join Domain - [E: Object exists:

join

#1

Hello,

we just wanted to setup and join a BDC to our domain. Since joining failed during the installation, we repeated it on the command line. This failed again with the following error:


**************************************************************************
* Join failed!                                                           *
* Contact your system administrator                                      *
**************************************************************************
* Message:  Please visit https://help.univention.com/t/8842 for common problems during the join and how to fix them -- failed to create DC Backup (1) [E: Object exists: (mac)  90:1b:0e:45:ca:0d]

Searching the forum for an error like this, we found the following thread:

The problem now is, that when we enter the suggested ldapsearch on the PDC, we don’t get a result:


univention-ldapsearch 'macAddress=90:1b:0e:45:ca:0d' dn
# extended LDIF
#
# LDAPv3
# base <dc=dom1,dc=local> (default) with scope subtree
# filter: macAddress=90:1b:0e:45:ca:0d
# requesting: dn 
#

# search result
search: 3
result: 0 Success
# numResponses: 1

How does the PDC know, that the BDC already exists? The PDC is a UCS 4.3 that took over the domain from a manually compiled Samba 4.1 on Ubuntu. Therefore somewhere the information about the BDC may be stored, but the question is, where?

EDIT:
We found the following entries in /var/log/univention/listener.log

09.02.19 22:02:48.908  LISTENER    ( PROCESS ) : updating 'cn=2269,cn=uidNumber,cn=temporary,cn=univention,dc=dom1,dc=local' command a
09.02.19 22:02:49.155  LISTENER    ( PROCESS ) : updating 'cn=2269,cn=gidNumber,cn=temporary,cn=univention,dc=dom1,dc=local' command a
09.02.19 22:02:49.264  LISTENER    ( PROCESS ) : updating 'cn=2269,cn=gidNumber,cn=temporary,cn=univention,dc=dom1,dc=local' command d
09.02.19 22:02:49.336  LISTENER    ( PROCESS ) : updating 'cn=90:1b:0e:45:ca:0d,cn=mac,cn=temporary,cn=univention,dc=dom1,dc=local' command a
09.02.19 22:02:49.537  LISTENER    ( PROCESS ) : updating 'cn=2269,cn=uidNumber,cn=temporary,cn=univention,dc=dom1,dc=local' command d
09.02.19 22:02:49.609  LISTENER    ( PROCESS ) : updating 'cn=90:1b:0e:45:ca:0d,cn=mac,cn=temporary,cn=univention,dc=dom1,dc=local' command d

Thanks for any hints & suggestions,

Stefan


#2

Hi,

perhaps there are some remainders of previous attempts left? Have you tried this?

/CV