Bug 11294 - Creation of an additional linked attribute pointing to itself fails
Creation of an additional linked attribute pointing to itself fails
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
unspecified
All All
: P5 normal
: ---
Assigned To: Matthieu Patou
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-05-27 20:04 UTC by Matthieu Patou
Modified: 2015-05-27 20:04 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Patou 2015-05-27 20:04:14 UTC
The error message is 
Failed to commit transaction: Failed to add backlink from CN=Default,CN=OWA Mailbox Policies,CN=Samba,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=exchange,DC=home,DC=matws,DC=net to CN=Default,CN=OWA Mailbox Policies,CN=Samba,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=exchange,DC=home,DC=matws,DC=net - attribute 'msExchOWATranscodingMimeTypesBL': value #0 on 'CN=Default,CN=OWA Mailbox Policies,CN=Samba,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=exchange,DC=home,DC=matws,DC=net' already exists

It looks like we don't check when we create the backlink if the attribute already exists.

I think we also have issues when removing linked attributes pointing to ourselves