[PATCH] s4-drs: Delete RODC filtered attributes from objects

Andrew Bartlett abartlet at samba.org
Wed Apr 7 22:10:35 MDT 2010


On Tue, 2010-04-06 at 13:01 +0300, Anatoliy Atanasov wrote:
> Hi Andrew,
> 
> I made some changes to the ldap backend to replace the
> ldb_op_default_callback with one that can handle referrals. Please
> review the changes here:
> http://git.samba.org/?p=anatoliy/anatoliy.git;a=commit;h=afaa36d0d9a9924d7439ec27c9b0b22f9aab1168
> 
> In a summary i replaced the ldb calls in ldap_server with ones that
> supply the right callback and context in which the referral can be
> returned to the client. The problem is that there are too many
> callbacks and checks in the way. Can I just send the referral to the
> first callback and skip the stack of modules in the way. 

No, I don't think you can. 

> Replmd module is way down the stack and there are a lot of callbacks
> to fix between ldap server and replmd.

This looks pretty good.  Now you just have to fix up all the callbacks
in our module stack :-(

(Yes, I know it's a lot of work, but as far as I can tell, it's what we
have to do to support this). 

In the long term, it would be great if our ldap server was async, and
actually send the referrals and data to the client when it got them,
rather than needing to batch them up. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100408/06467ee1/attachment.pgp>


More information about the samba-technical mailing list