Index: replication.py =================================================================== --- replication.py (Revision 49252) +++ replication.py (Arbeitskopie) @@ -852,7 +852,9 @@ try: l.add_s(dn, al) except ldap.OBJECT_CLASS_VIOLATION, msg: - univention.debug.debug(univention.debug.LISTENER, univention.debug.ERROR, 'replication: object class violation while adding %s' % dn) + univention.debug.debug(univention.debug.LISTENER, univention.debug.ERROR, 'replication: object class violation while adding %s: %s' % dn, msg[0]['desc']) + if 'info' in msg[0]: + univention.debug.debug(univention.debug.LISTENER, univention.debug.ERROR, '\tadditional info: %s' % msg[0]['info']) def _modify_object_from_old_and_new(l, dn, old, new): ml=modlist(old, new)