[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4810) syncprov follows referrals



ando@sys-net.it wrote:
> dieter@dkluenter.de wrote:
>> Full_Name: Dieter Kluenter
>> Version: 2.4.2alpha

>> When adding a alias abject to the provider, syncprov fowllows the referral and
>> is not updating the alias object to the consumer,
> 
> Dieter,
> 
> are you talking about aliases or referrals?
> 
> I also note that, AFAIK, 2.4.2alpha is way out of sync with HEAD.  While
> a new 2.4 release might be desirable, I suggest you test HEAD instead.

I note that this code has been present in syncprov, unchanged, for quite a 
long time (throughout 2.3 to current):
     if ( op->ors_deref & LDAP_DEREF_SEARCHING ) {
         send_ldap_error( op, rs, LDAP_PROTOCOL_ERROR, "illegal value for 
derefAliases" );
         return rs->sr_err;
     }

which would prevent syncprov from chasing aliases during a search. As such, I 
think you need provide a test case that illustrates the problem.
-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc
   OpenLDAP Core Team            http://www.openldap.org/project/