Bug 13794 - drs: Can't replicate schema backlinks
Summary: drs: Can't replicate schema backlinks
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.9.0
Hardware: All All
: P5 minor (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-19 01:22 UTC by Aaron Haslett
Modified: 2020-01-17 10:08 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 Aaron Haslett 2019-02-19 01:22:54 UTC
A backlink can be made on a schema object on the schema master like so:
1. Create a subclass of OrganizationalUnit with dMD included in possSuperiors.
2. Create an instance of that subclass in schema partition
3. Put the DN of that instance into the "managedBy" field of some object like the Administrator user.

This creates the backlink.  When the changes are replicated, the DC receiving the changes will produce the error: "schema_data_add: we are not master: reject add request".  This happens because backlinks are created dynamically on the DC rather than as part of the replication.  In our example, only 'managedBy' is sent, not 'managedObjects', which is the backlink list.

Not a big deal, but it would be nice to test Windows behaviour on this one and bring Samba into compliance.