When joining or starting to replicate an application partition samba should register this attribute too. The msDS-NC-RO-Replica-Locations is not set as well for RODC and it should be.
This is related to replication, multi-dc-setups. Hence this should not block the 4.0.0 release. Moving this to the 4.1 tracking bug....
=> 4.2
Any news on this one?
The new samba KCC introduced in 4.3 is checking for msDS-NC-Replica-Locations and msDS-NC-RO-Replica-Locations (see kcc/kcc_utils.py). This 2 attribute are not registered on new DC join and are not deleted when demoting.
(In reply to Jordi MORILLO from comment #4) This is aimed to be fixed in Samba 4.5. msDS-NC-Replica-Locations and msDS-NC-RO-Replica-Locations will be set during the join, while any existing RW-DCs with current repsFrom will have their msDS-NC-Replica-Locations in a run of samba-tool dbcheck. Any existing RODC setups will need to have this fixed manually unfortunately.
Fixed in commit 15ca517da8eb5122fdf31b6554ebfda3073d2a64