msDS-isRODC implementation

Stefan (metze) Metzmacher metze at
Thu Apr 29 04:33:16 MDT 2010

Hi Anatoliy,

> I pushed the implementation of msDS-isRODC here:;a=shortlog;h=refs/heads/wip_msds_isrodc
> Please take a look at construct_msds_isrodc_with_dn. There i get the objectCategory for the object for which i have to construct msDS-isRODC and then i do another search on the schema for the distinguishedName of the nTDSDSA class.
> Is there a way to optimize the second read? Get the distinguishedName from schema cache, probably?

I think it's wrong to use the invocationId in samdb_is_rodc(), we should
use the samdb_ntds_objectGUID().

And where are construct_msds_isrodc_with_* are defined? git grep can't
find them.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the samba-technical mailing list