msDS-isRODC implementation
Anatoliy Atanasov
anatoliy.atanasov at postpath.com
Thu Apr 29 04:32:23 MDT 2010
> -----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.
>
> And where are construct_msds_isrodc_with_* are defined? git grep can't
> find them.
They are in dsdb/samdb/ldb_modules/util.c
> metze
>
More information about the samba-technical
mailing list