Sync to ucs: Resync rejected


#1

I have univention-management-console server and it’s working fine. but
after Nov 12, 2017 update it’s not working. it shows error repeatedly and consumes
all server space.

29.11.2017 19:20:04,604 LDAP (PROCESS): sync to ucs: Resync rejected dn:
DC=205,DC=11.168.192.in-addr.arpa,CN=MicrosoftDNS,DC=ForestDnsZones,DC=gipl,DC=inet
29.11.2017 19:20:04,648 LDAP (PROCESS): sync to ucs: [
dns] [ add]
relativeDomainName=205,zoneName=11.168.192.in-addr.arpa,cn=dns,dc=gipl,dc=inet
29.11.2017 19:20:04,676 LDAP (ERROR ): Unknown Exception during
sync_to_ucs
29.11.2017 19:20:04,676 LDAP (ERROR ): Traceback (most recent call last):
File “/usr/lib/pymodules/python2.7/univention/s4connector/init.py”, line
1563, in sync_to_ucs
result = self.property[property_type].ucs_sync_function(self,
property_type, object)
File “/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py”, line 1658,
in con2ucs
ucs_ptr_record_create(s4connector, object)
File “/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py”, line 1073,
in ucs_ptr_record_create
newRecord = univention.admin.handlers.dns.ptr_record.object(None,
s4connector.lo, position, dn=None, superordinate=superordinate,
attributes=[], update_zone=False)
File “/usr/lib/pymodules/python2.7/univention/admin/handlers/dns/ptr_record.py”,
line 196, in init
univention.admin.handlers.simpleLdap.init(self, co, lo, position, dn,
superordinate, attributes=attributes)
File “/usr/lib/pymodules/python2.7/univention/admin/handlers/init.py”, line
812, in init
self._validate_superordinate()
File “/usr/lib/pymodules/python2.7/univention/admin/handlers/init.py”, line
847, in validate_superordinate
raise univention.admin.uexceptions.insufficientInformation(
(‘No superordinate
object given’))
insufficientInformation: No superordinate object given


#2

Any solution for aboce problem. Please help me


#3

Good day @s.sharma89 ,

We need some more log information.It will be nice to increase the debug level, have a look at the current S4-Connector replication status, and then post the result.

# ucr set connector/debug/level=4

#  /etc/init.d/univention-s4-connector restart
# less  /var/log/univention/connector-s4.log.
# less /var/log/univention/connector-s4-starus.log

The debug level should be reset to the default after the log information
has been collected.

# ucr set connector/debug/level=2
# /etc/init.d/univention-s4-connector restart

Regards
Anna Takang


S4 Connector issue [solved]
#4

/var/log/univention/connector-s4.log

06.12.2017 12:18:57,250 LDAP (INFO ): sync_to_ucs: new_s4_object: {‘primaryGroupID’: [u’515’], ‘isCriticalSystemObject’: [u’FALSE’], ‘logonCount’: [u’850’], ‘countryCode’: [u’0’], ‘objectClass’: [u’top’, u’person’, u’organizationalPerson’, u’user’, u’computer’], ‘dNSHostName’: [u’GIPL-141.gipl.inet’], ‘lastLogonTimestamp’: [u’131566027891866120’], ‘instanceType’: [u’4’], ‘sAMAccountName’: [u’GIPL-141$’], ‘distinguishedName’: [u’CN=GIPL-141,OU=GIPL WorkStations,OU=Fullestop Systems,DC=gipl,DC=inet’], ‘lastLogon’: [u’131570055125672970’], ‘operatingSystemServicePack’: [u’Service Pack 1’], ‘localPolicyFlags’: [u’0’], ‘msDS-SupportedEncryptionTypes’: [u’28’], ‘objectSid’: [u’S-1-5-21-2730414696-3887405202-1015757938-1685’], ‘whenCreated’: [u’20161226101311.0Z’], ‘uSNCreated’: [u’4195’], ‘pwdLastSet’: [u’131545305850000000’], ‘CN’: [u’GIPL-141’], ‘objectCategory’: [u’CN=Computer,CN=Schema,CN=Configuration,DC=gipl,DC=inet’], ‘objectGUID’: [u"\xc390’\xe5\xa6\xfdG\x99\xa6\xfc\xdf\x1e\x96y\xe5"], ‘userPrincipalName’: [u’host/GIPL-141.gipl.inet@GIPL.INET’], ‘accountExpires’: [u’9223372036854775807’], ‘operatingSystemVersion’: [u’6.1 (7601)’], ‘whenChanged’: [u’20171201115309.0Z’], ‘name’: [u’GIPL-141’], ‘codePage’: [u’0’], ‘userAccountControl’: [u’4096’], ‘sAMAccountType’: [u’805306369’], ‘uSNChanged’: [u’14177’], ‘servicePrincipalName’: [u’HOST/GIPL-141.gipl.inet’, u’RestrictedKrbHost/GIPL-141.gipl.inet’, u’HOST/GIPL-141’, u’RestrictedKrbHost/GIPL-141’], ‘operatingSystem’: [u’Windows 7 Professional’]}
06.12.2017 12:18:57,250 LDAP (INFO ): The following attributes have been changed: [‘logonCount’, ‘lastLogonTimestamp’, ‘lastLogon’, ‘whenChanged’, ‘uSNChanged’]
06.12.2017 12:18:57,251 LDAP (INFO ): sync_to_ucs: using existing target object type: computers/windows
06.12.2017 12:18:57,257 LDAP (INFO ): __set_values: object: {‘dn’: u’cn=gipl-141,ou=gipl workstations,ou=fullestop systems,dc=gipl,dc=inet’, ‘attributes’: {‘primaryGroupID’: [u’515’], ‘isCriticalSystemObject’: [u’FALSE’], ‘logonCount’: [u’850’], ‘uid’: [u’GIPL-141$’], ‘countryCode’: [u’0’], ‘univentionOperatingSystemVersion’: [u’6.1 (7601)’], ‘objectClass’: [u’top’, u’person’, u’organizationalPerson’, u’user’, u’computer’], ‘dNSHostName’: [u’GIPL-141.gipl.inet’], ‘lastLogonTimestamp’: [u’131566027891866120’], ‘instanceType’: [u’4’], ‘sAMAccountName’: [u’GIPL-141$’], ‘distinguishedName’: [u’CN=GIPL-141,OU=GIPL WorkStations,OU=Fullestop Systems,DC=gipl,DC=inet’], ‘lastLogon’: [u’131570055125672970’], ‘operatingSystemServicePack’: [u’Service Pack 1’], ‘localPolicyFlags’: [u’0’], ‘msDS-SupportedEncryptionTypes’: [u’28’], ‘objectSid’: [u’S-1-5-21-2730414696-3887405202-1015757938-1685’], ‘whenCreated’: [u’20161226101311.0Z’], ‘uSNCreated’: [u’4195’], ‘cn’: [u’GIPL-141’], ‘univentionOperatingSystem’: [u’Windows 7 Professional’], ‘pwdLastSet’: [u’131545305850000000’], ‘CN’: [u’GIPL-141’], ‘objectCategory’: [u’CN=Computer,CN=Schema,CN=Configuration,DC=gipl,DC=inet’], ‘objectGUID’: [u"\xc390’\xe5\xa6\xfdG\x99\xa6\xfc\xdf\x1e\x96y\xe5"], ‘userPrincipalName’: [u’host/GIPL-141.gipl.inet@GIPL.INET’], ‘accountExpires’: [u’9223372036854775807’], ‘operatingSystemVersion’: [u’6.1 (7601)’], ‘whenChanged’: [u’20171201115309.0Z’], ‘name’: [u’GIPL-141’], ‘codePage’: [u’0’], ‘userAccountControl’: [u’4096’], ‘sAMAccountType’: [u’805306369’], ‘sambaSID’: u’1685’, ‘uSNChanged’: [u’14177’], ‘servicePrincipalName’: [u’HOST/GIPL-141.gipl.inet’, u’RestrictedKrbHost/GIPL-141.gipl.inet’, u’HOST/GIPL-141’, u’RestrictedKrbHost/GIPL-141’], ‘operatingSystem’: [u’Windows 7 Professional’]}, ‘changed_attributes’: [‘logonCount’, ‘lastLogonTimestamp’, ‘lastLogon’, ‘whenChanged’, ‘uSNChanged’], ‘modtype’: ‘modify’}
06.12.2017 12:18:57,259 LDAP (INFO ): __set_values: Skip: description
06.12.2017 12:18:57,260 LDAP (INFO ): __set_values: Skip: objectSid
06.12.2017 12:18:57,260 LDAP (INFO ): __set_values: Skip: operatingSystemVersion
06.12.2017 12:18:57,260 LDAP (INFO ): __set_values: Skip: sAMAccountName
06.12.2017 12:18:57,260 LDAP (INFO ): __set_values: Skip: operatingSystem
06.12.2017 12:18:57,261 LDAP (INFO ): __set_values: Skip: cn
06.12.2017 12:18:57,262 LDAP (INFO ): _modify_custom_attributes: no custom attributes found
06.12.2017 12:18:57,264 LDAP (INFO ): S4Cache: Execute SQL command: ‘SELECT id FROM GUIDS WHERE guid=?;’, ‘(‘273039c3-a6e5-47fd-99a6-fcdf1e9679e5’,)’
06.12.2017 12:18:57,264 LDAP (INFO ): S4Cache: Return SQL result: ‘[(302,)]’
06.12.2017 12:18:57,265 LDAP (INFO ): S4Cache: Execute SQL command: ‘SELECT id FROM GUIDS WHERE guid=?;’, ‘(‘273039c3-a6e5-47fd-99a6-fcdf1e9679e5’,)’
06.12.2017 12:18:57,267 LDAP (INFO ): S4Cache: Return SQL result: ‘[(302,)]’
06.12.2017 12:18:57,268 LDAP (INFO ): S4Cache: Execute SQL command: ‘SELECT id FROM GUIDS WHERE guid=?;’, ‘(‘273039c3-a6e5-47fd-99a6-fcdf1e9679e5’,)’
06.12.2017 12:18:57,268 LDAP (INFO ): S4Cache: Return SQL result: ‘[(302,)]’
06.12.2017 12:18:57,268 LDAP (INFO ): S4Cache: Execute SQL command: ‘SELECT ATTRIBUTES.attribute,data.value from data inner join ATTRIBUTES ON data.attribute_id=attributes.id where guid_id = ?;’, ‘(‘302’,)’
06.12.2017 12:18:57,269 LDAP (INFO ): S4Cache: Return SQL result: ‘[(u’distinguishedName’, u’Q049R0lQTC0xNDEsT1U9R0lQTCBXb3JrU3RhdGlvbnMsT1U9RnVsbGVzdG9wIFN5c3RlbXMsREM9\nZ2lwbCxEQz1pbmV0\n’), (u’isCriticalSystemObject’, u’RkFMU0U=\n’), (u’objectCategory’, u’Q049Q29tcHV0ZXIsQ049U2NoZW1hLENOPUNvbmZpZ3VyYXRpb24sREM9Z2lwbCxEQz1pbmV0\n’), (u’objectClass’, u’dG9w\n’), (u’objectClass’, u’cGVyc29u\n’), (u’objectClass’, u’b3JnYW5pemF0aW9uYWxQZXJzb24=\n’), (u’objectClass’, u’dXNlcg==\n’), (u’objectClass’, u’Y29tcHV0ZXI=\n’), (u’objectGUID’, u’w4M5MCfDpcKmw71HwpnCpsO8w58ewpZ5w6U=\n’), (u’whenCreated’, u’MjAxNjEyMjYxMDEzMTEuMFo=\n’), (u’uSNCreated’, u’NDE5NQ==\n’), (u’uSNChanged’, u’MTM5MTQ=\n’), (u’whenChanged’, u’MjAxNzExMjAwODUxMTkuMFo=\n’), (u’instanceType’, u’NA==\n’), (u’name’, u’R0lQTC0xNDE=\n’), (u’objectSid’, u’Uy0xLTUtMjEtMjczMDQxNDY5Ni0zODg3NDA1MjAyLTEwMTU3NTc5MzgtMTY4NQ==\n’), (u’sAMAccountName’, u’R0lQTC0xNDEk\n’), (u’sAMAccountType’, u’ODA1MzA2MzY5\n’), (u’primaryGroupID’, u’NTE1\n’), (u’logonCount’, u’ODA0\n’), (u’countryCode’, u’MA==\n’), (u’userPrincipalName’, u’aG9zdC9HSVBMLTE0MS5naXBsLmluZXRAR0lQTC5JTkVU\n’), (u’pwdLastSet’, u’MTMxNTQ1MzA1ODUwMDAwMDAw\n’), (u’accountExpires’, u’OTIyMzM3MjAzNjg1NDc3NTgwNw==\n’), (u’codePage’, u’MA==\n’), (u’userAccountControl’, u’NDA5Ng==\n’), (u’lastLogon’, u’MTMxNTU3MTg4MTI2Mjk1MDAw\n’), (u’servicePrincipalName’, u’SE9TVC9HSVBMLTE0MS5naXBsLmluZXQ=\n’), (u’servicePrincipalName’, u’UmVzdHJpY3RlZEtyYkhvc3QvR0lQTC0xNDEuZ2lwbC5pbmV0\n’), (u’servicePrincipalName’, u’SE9TVC9HSVBMLTE0MQ==\n’), (u’servicePrincipalName’, u’UmVzdHJpY3RlZEtyYkhvc3QvR0lQTC0xNDE=\n’), (u’dNSHostName’, u’R0lQTC0xNDEuZ2lwbC5pbmV0\n’), (u’lastLogonTimestamp’, u’MTMxNTU2NDE0NzkxODU0NjIw\n’), (u’localPolicyFlags’, u’MA==\n’), (u’msDS-SupportedEncryptionTypes’, u’Mjg=\n’), (u’operatingSystemVersion’, u’Ni4xICg3NjAxKQ==\n’), (u’operatingSystem’, u’V2luZG93cyA3IFByb2Zlc3Npb25hbA==\n’), (u’CN’, u’R0lQTC0xNDE=\n’), (u’operatingSystemServicePack’, u’U2VydmljZSBQYWNrIDE=\n’)]’
06.12.2017 12:18:57,270 LDAP (INFO ): S4Cache: Execute SQL command: ‘SELECT id FROM ATTRIBUTES WHERE attribute=?;’, ‘(‘logonCount’,)’
06.12.2017 12:18:57,270 LDAP (INFO ): S4Cache: Return SQL result: ‘[(41,)]’
06.12.2017 12:18:57,270 LDAP (INFO ): S4Cache: Execute SQL command: ‘SELECT id FROM ATTRIBUTES WHERE attribute=?;’, ‘(‘objectGUID’,)’
06.12.2017 12:18:57,271 LDAP (INFO ): S4Cache: Return SQL result: ‘[(7,)]’
06.12.2017 12:18:57,271 LDAP (INFO ): S4Cache: Execute SQL command: ‘SELECT id FROM ATTRIBUTES WHERE attribute=?;’, ‘(‘whenChanged’,)’
06.12.2017 12:18:57,272 LDAP (INFO ): S4Cache: Return SQL result: ‘[(13,)]’
06.12.2017 12:18:57,275 LDAP (INFO ): S4Cache: Execute SQL command: ‘SELECT id FROM ATTRIBUTES WHERE attribute=?;’, ‘(‘lastLogon’,)’
06.12.2017 12:18:57,276 LDAP (INFO ): S4Cache: Return SQL result: ‘[(52,)]’
06.12.2017 12:18:57,276 LDAP (INFO ): S4Cache: Execute SQL command: ‘SELECT id FROM ATTRIBUTES WHERE attribute=?;’, ‘(‘lastLogonTimestamp’,)’
06.12.2017 12:18:57,276 LDAP (INFO ): S4Cache: Return SQL result: ‘[(57,)]’
06.12.2017 12:18:57,277 LDAP (INFO ): S4Cache: Execute SQL command: ‘SELECT id FROM ATTRIBUTES WHERE attribute=?;’, ‘(‘uSNChanged’,)’
06.12.2017 12:18:57,277 LDAP (INFO ): S4Cache: Return SQL result: ‘[(12,)]’
06.12.2017 12:18:57,277 LDAP (INFO ): S4Cache: Execute SQL command: ‘DELETE FROM data WHERE data.id IN ( SELECT data.id FROM DATA INNER JOIN ATTRIBUTES ON data.attribute_id=attributes.id where attributes.id=? and guid_id = ? and value = ? );’, ‘(‘41’, ‘302’, ‘ODA0\n’)’
06.12.2017 12:18:57,278 LDAP (INFO ): S4Cache: Execute SQL command: ‘INSERT INTO DATA(guid_id,attribute_id,value) VALUES(?,?,?);’, ‘(‘302’, ‘41’, ‘ODUw\n’)’
06.12.2017 12:18:57,278 LDAP (INFO ): S4Cache: Execute SQL command: ‘DELETE FROM data WHERE data.id IN ( SELECT data.id FROM DATA INNER JOIN ATTRIBUTES ON data.attribute_id=attributes.id where attributes.id=? and guid_id = ? and value = ? );’, ‘(‘7’, ‘302’, ‘w4M5MCfDpcKmw71HwpnCpsO8w58ewpZ5w6U=\n’)’
06.12.2017 12:18:57,278 LDAP (INFO ): S4Cache: Execute SQL command: ‘INSERT INTO DATA(guid_id,attribute_id,value) VALUES(?,?,?);’, ‘(‘302’, ‘7’, ‘w4M5MCfDpcKmw71HwpnCpsO8w58ewpZ5w6U=\n’)’
06.12.2017 12:18:57,279 LDAP (INFO ): S4Cache: Execute SQL command: ‘DELETE FROM data WHERE data.id IN ( SELECT data.id FROM DATA INNER JOIN ATTRIBUTES ON data.attribute_id=attributes.id where attributes.id=? and guid_id = ? and value = ? );’, ‘(‘13’, ‘302’, ‘MjAxNzExMjAwODUxMTkuMFo=\n’)’
06.12.2017 12:18:57,279 LDAP (INFO ): S4Cache: Execute SQL command: ‘INSERT INTO DATA(guid_id,attribute_id,value) VALUES(?,?,?);’, ‘(‘302’, ‘13’, ‘MjAxNzEyMDExMTUzMDkuMFo=\n’)’
06.12.2017 12:18:57,279 LDAP (INFO ): S4Cache: Execute SQL command: ‘DELETE FROM data WHERE data.id IN ( SELECT data.id FROM DATA INNER JOIN ATTRIBUTES ON data.attribute_id=attributes.id where attributes.id=? and guid_id = ? and value = ? );’, ‘(‘52’, ‘302’, ‘MTMxNTU3MTg4MTI2Mjk1MDAw\n’)’
06.12.2017 12:18:57,280 LDAP (INFO ): S4Cache: Execute SQL command: ‘INSERT INTO DATA(guid_id,attribute_id,value) VALUES(?,?,?);’, ‘(‘302’, ‘52’, ‘MTMxNTcwMDU1MTI1NjcyOTcw\n’)’
06.12.2017 12:18:57,280 LDAP (INFO ): S4Cache: Execute SQL command: ‘DELETE FROM data WHERE data.id IN ( SELECT data.id FROM DATA INNER JOIN ATTRIBUTES ON data.attribute_id=attributes.id where attributes.id=? and guid_id = ? and value = ? );’, ‘(‘57’, ‘302’, ‘MTMxNTU2NDE0NzkxODU0NjIw\n’)’
06.12.2017 12:18:57,283 LDAP (INFO ): S4Cache: Execute SQL command: ‘INSERT INTO DATA(guid_id,attribute_id,value) VALUES(?,?,?);’, ‘(‘302’, ‘57’, ‘MTMxNTY2MDI3ODkxODY2MTIw\n’)’
06.12.2017 12:18:57,284 LDAP (INFO ): S4Cache: Execute SQL command: ‘DELETE FROM data WHERE data.id IN ( SELECT data.id FROM DATA INNER JOIN ATTRIBUTES ON data.attribute_id=attributes.id where attributes.id=? and guid_id = ? and value = ? );’, ‘(‘12’, ‘302’, ‘MTM5MTQ=\n’)’
06.12.2017 12:18:57,284 LDAP (INFO ): S4Cache: Execute SQL command: ‘INSERT INTO DATA(guid_id,attribute_id,value) VALUES(?,?,?);’, ‘(‘302’, ‘12’, ‘MTQxNzc=\n’)’
06.12.2017 12:18:57,579 LDAP (INFO ): Call post_ucs_modify_functions: <function password_sync_s4_to_ucs_no_userpassword at 0x7fb7476679b0>
06.12.2017 12:18:57,580 LDAP (INFO ): password_sync_s4_to_ucs called
06.12.2017 12:18:57,580 LDAP (INFO ): password_sync_s4_to_ucs: the password for cn=gipl-141,ou=gipl workstations,ou=fullestop systems,dc=gipl,dc=inet has not been changed. Skipping password sync.
06.12.2017 12:18:57,580 LDAP (INFO ): Call post_ucs_modify_functions: <function password_sync_s4_to_ucs_no_userpassword at 0x7fb7476679b0> (done)
06.12.2017 12:18:57,580 LDAP (INFO ): Call post_ucs_modify_functions: <function checkAndConvertToMacOSX at 0x7fb73e9c6230>
06.12.2017 12:18:57,581 LDAP (INFO ): checkAndConvertToMacOSX: ucs_object: {‘dn’: u’cn=gipl-141,ou=gipl workstations,ou=fullestop systems,dc=gipl,dc=inet’, ‘attributes’: {‘primaryGroupID’: [u’515’], ‘isCriticalSystemObject’: [u’FALSE’], ‘logonCount’: [u’850’], ‘uid’: [u’GIPL-141$’], ‘countryCode’: [u’0’], ‘univentionOperatingSystemVersion’: [u’6.1 (7601)’], ‘objectClass’: [u’top’, u’person’, u’organizationalPerson’, u’user’, u’computer’], ‘dNSHostName’: [u’GIPL-141.gipl.inet’], ‘lastLogonTimestamp’: [u’131566027891866120’], ‘instanceType’: [u’4’], ‘sAMAccountName’: [u’GIPL-141$’], ‘distinguishedName’: [u’CN=GIPL-141,OU=GIPL WorkStations,OU=Fullestop Systems,DC=gipl,DC=inet’], ‘lastLogon’: [u’131570055125672970’], ‘operatingSystemServicePack’: [u’Service Pack 1’], ‘localPolicyFlags’: [u’0’], ‘msDS-SupportedEncryptionTypes’: [u’28’], ‘objectSid’: [u’S-1-5-21-2730414696-3887405202-1015757938-1685’], ‘whenCreated’: [u’20161226101311.0Z’], ‘uSNCreated’: [u’4195’], ‘cn’: [u’GIPL-141’], ‘univentionOperatingSystem’: [u’Windows 7 Professional’], ‘pwdLastSet’: [u’131545305850000000’], ‘CN’: [u’GIPL-141’], ‘objectCategory’: [u’CN=Computer,CN=Schema,CN=Configuration,DC=gipl,DC=inet’], ‘objectGUID’: [u"\xc390’\xe5\xa6\xfdG\x99\xa6\xfc\xdf\x1e\x96y\xe5"], ‘userPrincipalName’: [u’host/GIPL-141.gipl.inet@GIPL.INET’], ‘accountExpires’: [u’9223372036854775807’], ‘operatingSystemVersion’: [u’6.1 (7601)’], ‘whenChanged’: [u’20171201115309.0Z’], ‘name’: [u’GIPL-141’], ‘codePage’: [u’0’], ‘userAccountControl’: [u’4096’], ‘sAMAccountType’: [u’805306369’], ‘sambaSID’: u’1685’, ‘uSNChanged’: [u’14177’], ‘servicePrincipalName’: [u’HOST/GIPL-141.gipl.inet’, u’RestrictedKrbHost/GIPL-141.gipl.inet’, u’HOST/GIPL-141’, u’RestrictedKrbHost/GIPL-141’], ‘operatingSystem’: [u’Windows 7 Professional’]}, ‘changed_attributes’: [‘logonCount’, ‘lastLogonTimestamp’, ‘lastLogon’, ‘whenChanged’, ‘uSNChanged’], ‘modtype’: ‘modify’}
06.12.2017 12:18:57,581 LDAP (INFO ): checkAndConvertToMacOSX: The client should not be a Mac Client
06.12.2017 12:18:57,581 LDAP (INFO ): Call post_ucs_modify_functions: <function checkAndConvertToMacOSX at 0x7fb73e9c6230> (done)
06.12.2017 12:18:57,581 LDAP (INFO ): Call post_ucs_modify_functions: <function windowscomputer_sync_s4_to_ucs_check_rename at 0x7fb73e9c62a8>
06.12.2017 12:18:57,581 LDAP (INFO ): con_check_rename: sync_object: {‘dn’: u’cn=gipl-141,ou=gipl workstations,ou=fullestop systems,dc=gipl,dc=inet’, ‘attributes’: {‘primaryGroupID’: [u’515’], ‘isCriticalSystemObject’: [u’FALSE’], ‘logonCount’: [u’850’], ‘uid’: [u’GIPL-141$’], ‘countryCode’: [u’0’], ‘univentionOperatingSystemVersion’: [u’6.1 (7601)’], ‘objectClass’: [u’top’, u’person’, u’organizationalPerson’, u’user’, u’computer’], ‘dNSHostName’: [u’GIPL-141.gipl.inet’], ‘lastLogonTimestamp’: [u’131566027891866120’], ‘instanceType’: [u’4’], ‘sAMAccountName’: [u’GIPL-141$’], ‘distinguishedName’: [u’CN=GIPL-141,OU=GIPL WorkStations,OU=Fullestop Systems,DC=gipl,DC=inet’], ‘lastLogon’: [u’131570055125672970’], ‘operatingSystemServicePack’: [u’Service Pack 1’], ‘localPolicyFlags’: [u’0’], ‘msDS-SupportedEncryptionTypes’: [u’28’], ‘objectSid’: [u’S-1-5-21-2730414696-3887405202-1015757938-1685’], ‘whenCreated’: [u’20161226101311.0Z’], ‘uSNCreated’: [u’4195’], ‘cn’: [u’GIPL-141’], ‘univentionOperatingSystem’: [u’Windows 7 Professional’], ‘pwdLastSet’: [u’131545305850000000’], ‘CN’: [u’GIPL-141’], ‘objectCategory’: [u’CN=Computer,CN=Schema,CN=Configuration,DC=gipl,DC=inet’], ‘objectGUID’: [u"\xc390’\xe5\xa6\xfdG\x99\xa6\xfc\xdf\x1e\x96y\xe5"], ‘userPrincipalName’: [u’host/GIPL-141.gipl.inet@GIPL.INET’], ‘accountExpires’: [u’9223372036854775807’], ‘operatingSystemVersion’: [u’6.1 (7601)’], ‘whenChanged’: [u’20171201115309.0Z’], ‘name’: [u’GIPL-141’], ‘codePage’: [u’0’], ‘userAccountControl’: [u’4096’], ‘sAMAccountType’: [u’805306369’], ‘sambaSID’: u’1685’, ‘uSNChanged’: [u’14177’], ‘servicePrincipalName’: [u’HOST/GIPL-141.gipl.inet’, u’RestrictedKrbHost/GIPL-141.gipl.inet’, u’HOST/GIPL-141’, u’RestrictedKrbHost/GIPL-141’], ‘operatingSystem’: [u’Windows 7 Professional’]}, ‘changed_attributes’: [‘logonCount’, ‘lastLogonTimestamp’, ‘lastLogon’, ‘whenChanged’, ‘uSNChanged’], ‘modtype’: ‘modify’}
06.12.2017 12:18:57,583 LDAP (INFO ): con_check_rename: ucs object: {‘uid’: [‘GIPL-141$’], ‘krb5PrincipalName’: [‘host/GIPL-141.gipl.inet@GIPL.INET’], ‘objectClass’: [‘krb5KDCEntry’, ‘top’, ‘univentionHost’, ‘univentionObject’, ‘sambaSamAccount’, ‘person’, ‘shadowAccount’, ‘univentionWindows’, ‘krb5Principal’, ‘posixAccount’], ‘uidNumber’: [‘2125’], ‘sambaAcctFlags’: [’[W ]’], ‘sambaPrimaryGroupSID’: [‘S-1-5-21-1430207622-2530656818-2096360107-11011’], ‘krb5MaxLife’: [‘86400’], ‘shadowLastChange’: [‘17477’], ‘cn’: [‘GIPL-141’], ‘krb5Key’: [‘0\x1d\xa1\x1b0\x19\xa0\x03\x02\x01\x17\xa1\x12\x04\x10\xa5\xb30\xb1\x1ak\x8a,\xb2Kx\xff(\xc6\x0e;’, ‘0Y\xa1+0)\xa0\x03\x02\x01\x12\xa1"\x04 \xd1\x8d\x9c\x97\xd0hF\xace\xad0\xed\xab,/\x03\xd2?\xf8K\x13c\xb8HkA\xa0\xae\x85FY\x02\xa2*0(\xa0\x03\x02\x01\x03\xa1!\x04\x1fGIPL.INEThostgipl-141.gipl.inet’, "0I\xa1\x1b0\x19\xa0\x03\x02\x01\x11\xa1\x12\x04\x10Ns8\x12<'l\x01\x06M1\xeb\xad
\x05N\xa20(\xa0\x03\x02\x01\x03\xa1!\x04\x1fGIPL.INEThostgipl-141.gipl.inet", '0A\xa1\x130\x11\xa0\x03\x02\x01\x03\xa1\n\x04\x08|\xe5^;m\xe5\xc7\xdc\xa20(\xa0\x03\x02\x01\x03\xa1!\x04\x1fGIPL.INEThostgipl-141.gipl.inet’, ‘0A\xa1\x130\x11\xa0\x03\x02\x01\x01\xa1\n\x04\x08|\xe5^;m\xe5\xc7\xdc\xa2*0(\xa0\x03\x02\x01\x03\xa1!\x04\x1fGIPL.INEThostgipl-141.gipl.inet’], ‘krb5MaxRenew’: [‘604800’], ‘univentionOperatingSystemVersion’: [‘6.1 (7601)’], ‘loginShell’: [’/bin/false’], ‘univentionObjectType’: [‘computers/windows’], ‘krb5KDCFlags’: [‘126’], ‘gidNumber’: [‘1005’], ‘sambaPwdLastSet’: [‘1510056985’], ‘sambaNTPassword’: [‘A5B330B11A6B8A2CB24B78FF28C60E3B’], ‘displayName’: [‘GIPL-141’], ‘univentionOperatingSystem’: [‘Windows 7 Professional’], ‘univentionServerRole’: [‘windows_client’], ‘sambaSID’: [‘S-1-5-21-2730414696-3887405202-1015757938-1685’], ‘krb5KeyVersionNumber’: [‘11’], ‘sn’: [‘GIPL-141’], ‘homeDirectory’: [’/dev/null’]}
06.12.2017 12:18:57,587 LDAP (INFO ): Call post_ucs_modify_functions: <function windowscomputer_sync_s4_to_ucs_check_rename at 0x7fb73e9c62a8> (done)

/var/log/univention/connector-s4-starus.log

try to sync 0 changes from S4
done:
Changes from S4: 0 (142 saved rejected)

  • sleep 1 seconds (1/2 until resync) -
    Wed Dec 6 12:20:34 2017

try to sync 1 changes from UCS
done: 1
Changes from UCS: 0 (1 saved rejected)


try to sync 0 changes from S4
done:
Changes from S4: 0 (142 saved rejected)

  • sleep 1 seconds (2/2 until resync) -
    Wed Dec 6 12:20:35 2017

try to sync 1 changes from UCS
done: 1
Changes from UCS: 0 (1 saved rejected)


try to sync 0 changes from S4
done:
Changes from S4: 0 (142 saved rejected)


Sync 1 rejected changes from UCS
restored 0 rejected changes


Sync 142 rejected changes from S4 to UCS


#5

Good day @s.sharma89,

please can you upload the complete file. You can use winscp if your host is a Windows machine.

/var/log/univention/connector-s4.log
and
/var/log/univention/connector-s4-status.log

Greetings

Anna Takang


#6

connector-s4-status.log (6.7 KB)
connector-s4.log (3.0 MB)
Hi,
Please find attchment of log file.
Regards,
Sandeep


#7

Hi,
I am facing that problem after upgrading to 4.2-2 errata239 version.
Please give me solutions if any have.

Thanks & Regards,
Sandeep


#8

Hello everyone,
Any solution for my problem.


#9

It looks like the DNS reverse zone doesn’t exist: zoneName=9.168.192.in-addr.arpa,cn=dns,dc=gipl,dc=inet

Can you try to re-sync the zone and restart the S4 connector?

/usr/share/univention-s4-connector/resync_object_from_s4.py "DC=9.168.192.in-addr.arpa,CN=MicrosoftDNS,DC=ForestDnsZones,DC=gipl,DC=inet"
/etc/init.d/univention-s4-connector restart