[Date Prev][Date Next]
Backend selection (ITS#1035)
Full_Name: Pierangelo Masarati
OS: RH Linux 6.2
Submission from: (NULL) (184.108.40.206)
As emerged from discussions in the devel list, when a backend is selected based
on a dn
that is longer than the running naming context, there is no check that the
match occurs at a dn separator. As a result, someone complained that "c=DE"
was erroneously selected instead of "dc=de" because the former was listed before
latter. By copying a test that is performed in suffixalias.c when deciding
aliase or not a suffix, I modified the select_backend routine to overcome this
limitation. It seems to work correctly, though I didn't check if the manageDSAit
stuff still behaves as expected.
PS: please, disregard the previous patch I submitted a few minutes earlier,
as the second one
is more complete.