Hello,
Sorry to jump in but I think I have the same problem.
Our master dc was failing and we needed to do the backup2master to be sure.
The script worked perfectly and the backup became master.
Everything that was added to the domain before we did the backup2master works without problems.
Now when we add a computer (we only have W7), everything works perfectly on the windows side and we can see in the web console that the computer arrives (F5 like crazy) but is deleted immediately afterwards.
So I launched the univention-s4connector-list-rejected script and I have a lot of rejects (only the computers added after the backup2master).
I named the computer TESTSYNC
My connector log file reads:
code: sync from ucs: [windowscomputer] [ add] CN=TESTSYNC,CN=Computers,DC=ccthb,DC=local
28.12.2016 17:55:33,38 LDAP (PROCESS): Unable to sync CN=TESTSYNC,CN=Computers,DC=ccthb,DC=local (GUID: 7503bf7a-4425-46a7-800b-ce0b46b13fa9). The object is currently locked.
28.12.2016 17:55:33,160 LDAP (PROCESS): sync from ucs: [windowscomputer] [ delete] CN=TESTSYNC,CN=Computers,DC=ccthb,DC=local
28.12.2016 17:55:33,161 LDAP (PROCESS): Unable to sync CN=TESTSYNC,CN=Computers,DC=ccthb,DC=local (GUID: 7503bf7a-4425-46a7-800b-ce0b46b13fa9). The object is currently locked.
[/code]
and the listener log reads:
28.12.16 17:56:30.523 LISTENER ( PROCESS ) : samba4-idmap: added entry for S-1-4-2296
28.12.16 17:56:30.679 LISTENER ( PROCESS ) : updating 'cn=TESTSYNC$,cn=uid,cn=temporary,cn=univention,dc=ccthb,dc=local' command d
28.12.16 17:56:30.770 LISTENER ( PROCESS ) : updating 'cn=TESTSYNC,cn=Computers,dc=ccthb,dc=local' command m
28.12.16 17:56:30.773 LISTENER ( PROCESS ) : samba4-idmap: removing entry for S-1-4-2296
28.12.16 17:56:30.946 LISTENER ( PROCESS ) : updating 'cn=TESTSYNC,cn=Computers,dc=ccthb,dc=local' command m
28.12.16 17:56:30.996 LISTENER ( PROCESS ) : updating 'cn=TESTSYNC,cn=Computers,dc=ccthb,dc=local' command d
Something else I noticed but I’m not sure if it has something to do with it is that the _msdcs.ccthb.local record still points to the old dc.
If it can help somebody: I found that adding the computer account in the UCS console before joining the windows to the domain works without errors generated in the sync logs and are fully operational.
Additional Info:
UCS 4.1-4 errata 366
I already tried (on a clone of the machine):
sdb.univention.de/content/6/294/ … jects.html
sdb.univention.de/content/6/274/ … aster.html
Greetings,
Thank you very much,
Edward