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

JDBC-LDAP



 Hello,

 I'm trying to use the JDBC-LDAP bridge,
 In oppenldap LOG file, I can see a request like "....objectclass=*" with a
 wrong base DN at connection time.
 After that, the next request is good.
 Here's my code :

 String ldapConnectString =


"jdbc:ldap://adresseIP:389/dc=ps,dc=fr?SEARCH_SCOPE:=subTreeScope&cache_stat
ements:=false";

                 System.out.println("Before Connection established");
   java.sql.Connection con;
          con =DriverManager.getConnection(
    ldapConnectString,
    "cn=manager,dc=ps,dc=fr",
    "secret");

   System.out.println("Connection established");

 Is there a way not send the bad request (a connection parameter or
something
 that is not documented).

 Thanks a lot