Peter Mogensen wrote:
Pierangelo Masarati wrote:
> Yes, there is: add the "don't use copy" control to the read request.
If
> your client has write, then read requirements, using the chain overlay
> to avoid dealing with referrals is definitely a bad idea.
Ah... "don't use copy" is slapd 2.4. I forgot to say I'm on 2.3 - for
now.
Anyway... I thought that was the whole point of slapo-chain - to get
automatic referral chasing.
It is. But if a client knows it's doing something weird (like write,
then read, potentially to a consumer) then it needs to take precautions,
like don't use copy. In that case, the consumer would return a
referral, and slapo-chain would chase it transparently.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati(a)sys-net.it
---------------------------------------