07.01.20 16:26:19.249 LISTENER ( ERROR ) : replication: Object class violation; dn="uid=phahn2,dc=nstx,dc=ucs": object class violation while adding 07.01.20 16:26:19.249 LISTENER ( ERROR ) : additional info: object class 'krb5KDCEntry' requires attribute 'krb5KeyVersionNumber'
Was the user created via UDM or via S4-Connector, etc?
Or are the problem LDAP ACL's which disallow reading the attributes when doing replication?
udm-cli without --position and selective replication in U@S
Ok, from which kind of DC in a UCS@school domain is the message? Is it a school slave or one of the servers in the central department?
I found this error message on a central slave in a school environment. 24.11.20 13:22:34.761 LISTENER ( ERROR ) : replication: Object class violation; dn="uid=lara.croft,cn=users,ou=selfmade,dc=example,dc=int": object class violation while adding 24.11.20 13:22:34.761 LISTENER ( ERROR ) : additional info: object class 'krb5KDCEntry' requires attribute 'krb5KeyVersionNumber' The customer added an "ou" for this slave. Could this be the cause of this message. As i recall, we had an similar issue in Bug 49668 caused by an additional ou in a school environment?
How to reproduce: 1. Create non-school ou 2. /etc/init.d/slapd restart && udm users/user create --set username=test --set lastname=test --set password=univention --position ou=testOU,dc=mydomain,dc=intranet && udm users/user remove --dn=uid=test,ou=testOU,dc=mydomain,dc=intranet 3. Check /var/log/univention/listener.log: LISTENER ( ERROR ) : replication: Object class violation; dn="uid=test,ou=testOU,dc=mydomain,dc=intranet": object class violation while adding LISTENER ( ERROR ) : additional info: object class 'krb5KDCEntry' requires attribute 'krb5KeyVersionNumber'
*** Bug 49668 has been marked as a duplicate of this bug. ***
Merge-request waiting for QA by the ucs@school team: https://git.knut.univention.de/univention/ucsschool/-/merge_requests/81
Merged + built Successful build Package: ucs-school-ldap-acls-master Version: 18.0.4A~5.0.0.202206011518 Branch: ucs_5.0-0 Scope: ucs-school-5.0 Package: ucs-test-ucsschool Version: 7.3.46A~5.0.0.202206011537 Branch: ucs_5.0-0 Scope: ucs-school-5.0 616c3a4b290d | Bug #51279: Update YAML 048348510fd9 | Bug #51279: YAML + changelog 4f72c0451f96 | Bug #51279: Test access to password attributes of global users ff6dc29ddd4a | Bug #51279: Increase joinscript version 1dfc74d8ea07 | Bug #51279: Give schoolservers rights to read password attributes of global users c5462a94fc06 | fixup! Bug #51279: add docu hint cdca4151a3f3 | Bug #51279: add docu hint
OK - yaml OK - manual tests OK - documentation TODO - jenkins test
OK - jenkins tests
Has been released with ucs@school version 5.0v2