[Date Prev][Date Next]
Patch for referrals (ITS#905)
Full_Name: Bertrand Croq
OS: Debian 2.2 (linux 2.2.17)
Submission from: (NULL) (188.8.131.52)
I posted a mail in openldap-bugs a few days ago about a problem with the
referrals: when a referral precising the new scope for a search arrives, the old
scope is still used (the new one is ignored).
Here is a patch to correct this: if there is no scope in the referral, the
scope from the previous search is used (otherwise, the scope would always become
"base" as it is the default for an ldap URL without scope), and if a new scope
is present, it is used.
Maybe this is not the best way to do it but it seems to work.