My system is consisting of a dc-master, a dc-backup and a dc-slave
I cannot add a user computer or any other object anymore.
I tried “windows Client join”, add a computer via RSAT or als add a user via UDM
The object is created in SAMBA 4 but never got synced to ucs ldap
for example I try to create a User in UDM “Max Mustermann” (which is a german expression of John Doe)
the connector-s4.log shows:
[[A08.10.2018 14:26:27,643 LDAP (PROCESS): sync from ucs: [ user] [ add] cn=mmuster,cn=users,DC=office,DC=firma,DC=com
08.10.2018 14:26:32,398 LDAP (PROCESS): password_sync_ucs_to_s4: The UCS object (uid=mmuster,cn=users,dc=office,DC=firma,dc=com) was not found. The object was removed.
08.10.2018 14:26:32,400 LDAP (PROCESS): primary_group_sync_from_ucs: The UCS object (uid=mmuster,cn=users,dc=office,DC=firma,dc=com) was not found. The object was removed.
08.10.2018 14:26:32,848 LDAP (WARNING): sync failed, saved as rejected
/var/lib/univention-connector/s4/1539001584.742400
08.10.2018 14:26:32,848 LDAP (WARNING): Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 898, in __sync_file_from_ucs
if ((old_dn and not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, unicode(old_dn, 'utf8'), old, new)) or (not old_dn and not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, old_dn, old, new))):
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/__init__.py", line 2607, in sync_from_ucs
f(self, property_type, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/__init__.py", line 103, in disable_user_from_ucs
return s4connector.disable_user_from_ucs(key, object)
File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/__init__.py", line 2125, in disable_user_from_ucs
ucs_admin_object = univention.admin.objects.get(self.modules[object_key], co='', lo=self.lo, position='', dn=object_ucs['dn'])
File "/usr/lib/pymodules/python2.7/univention/admin/objects.py", line 89, in get
raise univention.admin.uexceptions.noObject(dn)
noObject: uid=mmuster,cn=users,dc=office,DC=firma,dc=com
the listener.log shows:
08.10.18 14:26:21.803 LISTENER ( PROCESS ) : updating 'cn=mmuster,cn=uid,cn=temporary,cn=univention,dc=office,dc=firma,dc=com' command a
08.10.18 14:26:22.455 LISTENER ( PROCESS ) : updating 'cn=16018,cn=uidNumber,cn=temporary,cn=univention,dc=office,dc=firma,dc=com' command a
08.10.18 14:26:23.059 LISTENER ( PROCESS ) : updating 'cn=16018,cn=gidNumber,cn=temporary,cn=univention,dc=office,dc=firma,dc=com' command a
08.10.18 14:26:23.340 LISTENER ( PROCESS ) : updating 'cn=16018,cn=gidNumber,cn=temporary,cn=univention,dc=office,dc=firma,dc=com' command d
08.10.18 14:26:24.131 LISTENER ( PROCESS ) : updating 'uid=mmuster,cn=users,dc=office,dc=firma,dc=com' command a
08.10.18 14:26:25.518 LISTENER ( PROCESS ) : samba4-idmap: added entry for S-1-4-16018
08.10.18 14:26:26.166 LISTENER ( PROCESS ) : updating 'cn=uidNumber,cn=temporary,cn=univention,dc=office,dc=firma,dc=com' command m
08.10.18 14:26:26.657 LISTENER ( PROCESS ) : updating 'cn=16018,cn=uidNumber,cn=temporary,cn=univention,dc=office,dc=firma,dc=com' command d
08.10.18 14:26:27.126 LISTENER ( PROCESS ) : updating 'cn=mmuster,cn=uid,cn=temporary,cn=univention,dc=office,dc=firma,dc=com' command d
08.10.18 14:26:27.643 LISTENER ( PROCESS ) : updating 'uid=mmuster,cn=users,dc=office,dc=firma,dc=com' command m
08.10.18 14:26:28.085 LISTENER ( PROCESS ) : samba4-idmap: removing entry for S-1-4-16018
08.10.18 14:26:28.884 LISTENER ( PROCESS ) : updating 'uid=mmuster,cn=users,dc=office,dc=firma,dc=com' command m
08.10.18 14:26:29.018 LISTENER ( PROCESS ) : updating 'uid=mmuster,cn=users,dc=office,dc=firma,dc=com' command d
If I run univention-s4connector-list-rejected
UCS rejected
1: UCS DN: uid=mmuster,cn=users,dc=office,dc=firma,dc=com
S4 DN: <not found>
Filename: /var/lib/univention-connector/s4/1539001584.742400
S4 rejected
last synced USN: 44399
in the management-console-module-udm.log i find
08.10.18 14:34:18.578 MODULE ( ERROR ) : Identified module policies/admin_user for cn=default-admins,cn=admin-settings,cn=users,cn=policies,dc=office,dc=firma,dc=com (flavor=None) does not have a relating UDM module.
08.10.18 14:35:33.204 MAIN ( WARN ) : Shutting down all open connections
I am missing something but I cannot figure out what
I am guessing it has to do with some additional LDAP schema extensions from installed apps which I have removed again…
Regards Lucky