[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#3831) strange scopes[] in syncrepl.c
> scopes[] in servers/slapd/syncrepl.c contains
>
> #ifdef LDAP_SCOPE_SUBORDINATE
> { BER_BVC("children"), LDAP_SCOPE_SUBORDINATE },
> { BER_BVC("subordinate"), 0 },
> #endif
>
> I don't know syncrepl, but I assume the last value should
> be LDAP_SCOPE_SUBORDINATE and not 0 == LDAP_SCOPE_BASE.
Your analysis looks correct. However, the code (a bit involved, as far as
I can tell) is able to use the right value for the selected scope (look at
that while ... j-- part).
p.
--
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497