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

Controls handled incorrectly (ITS#2034)



Full_Name: Jeremy Mortis
Version: 2.0.23
OS: Redhat 7.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (136.159.213.7)



When using an LDAP instance with multiple databases, JNDI searches fail.

This appears to be due to the fact that JNDI passes the 'manageDSAit' control
along, 
which causes the 'select_backend' routine to choose the wrong database.

A workaround for me is to comment out the following lines in backend.c:

     if( manageDSAit && len == dnlen ) {
       continue;
     } 

What side effects that might have, I don't know!