Univention Bugzilla – Bug 37556
Modifying Extended Attributes may result in an LDAP-Error
Last modified: 2018-04-13 13:30:00 CEST
I've tried to modify an extended attribute with the exact attributes as it was created. This extended attribute ships with Fetchmail: /usr/sbin/univention-directory-manager settings/extended_attribute modify --dn 'cn=UniventionFetchmail-User-Server,cn=mail,cn=custom attributes,cn=univention,dc=dirk,dc=singlemaster,dc=intranet' --set translationLongDescription='"de_DE" "Mails werden von dem hier angegebenen (externen) Mailserver abgeholt."' --set objectClass=univentionFetchmail --set module=users/user --set overwritePosition=0 --set hook=None --set overwriteTab=0 --set translationTabName='"de_DE" "Mailabruf von externen Servern"' --set shortDescription='Remote mail server' --set CLIName=fetchmailServer --set translationShortDescription='"de_DE" "Externer Mailserver"' --set longDescription='Mails will be fetched from this external server' --set doNotSearch=0 --set tabName='Remote mail retrieval' --set valueRequired=0 --set syntax=string --set tabAdvanced=1 --set name=UniventionFetchmail-User-Server --set tabPosition=6 --set mayChange=1 --set multivalue=0 --set ldapMapping=univentionFetchmailServer --set deleteObjectClass=1 LDAP Error: Type or value exists: modify/add: univentionUDMPropertyLayoutOverwritePosition: value #0 already exists This is not a UDM error. It is LDAP itself and it does not make sense. (Well, from LDAP's perspective it surely does, but there is something wrong in the handler I assume)
I also saw this some times.
I guess it should be fixed by #40120 (not completely sure). *** This bug has been marked as a duplicate of bug 40120 ***