Bug 37556 - Modifying Extended Attributes may result in an LDAP-Error
Modifying Extended Attributes may result in an LDAP-Error
Status: RESOLVED DUPLICATE of bug 40120
Product: UCS
Classification: Unclassified
Component: UDM - Extended Attributes
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-01-17 13:17 CET by Dirk Wiesenthal
Modified: 2018-04-13 13:30 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup, Error handling
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2015-01-17 13:17:18 CET
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)
Comment 1 Florian Best univentionstaff 2015-01-22 17:11:25 CET
I also saw this some times.
Comment 2 Florian Best univentionstaff 2016-05-27 10:40:47 CEST
I guess it should be fixed by #40120 (not completely sure).

*** This bug has been marked as a duplicate of bug 40120 ***