Bug 13794 - drs: Can't replicate schema backlinks
drs: Can't replicate schema backlinks
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
4.9.0
All All
: P5 minor
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-19 01:22 UTC by Aaron Haslett
Modified: 2019-02-19 19:01 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 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.