msDS-isRODC implementation

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


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

Thanks.

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

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100429/2f52ed56/attachment.pgp>


More information about the samba-technical mailing list