Bug 11294 - Creation of an additional linked attribute pointing to itself fails
Summary: Creation of an additional linked attribute pointing to itself fails
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Matthieu Patou
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-27 20:04 UTC by Matthieu Patou
Modified: 2017-01-03 03:28 UTC (History)
2 users (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