msDS-isRODC implementation

Stefan (metze) Metzmacher metze at
Thu Apr 29 04:44:50 MDT 2010

Anatoliy Atanasov schrieb:
>> -----Original Message-----
>> From: Stefan (metze) Metzmacher [mailto:metze at]
>> Sent: Thursday, April 29, 2010 13:33
>> To: Anatoliy Atanasov
>> Cc: abartlet at; samba-technical at
>> Subject: Re: msDS-isRODC implementation
>> Hi Anatoliy,
>>> I pushed the implementation of msDS-isRODC here:
>> 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().
> I'll see how to fix that.


>> And where are construct_msds_isrodc_with_* are defined? git grep can't
>> find them.
> They are in dsdb/samdb/ldb_modules/util.c

ah, ok.

But why? I think they should be static and all in the same place.


-------------- 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