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

Octetstring JDBC-LDAP Bridge



Hi everyone:
Does anybody have experience using this bridge?
I checked the mailling list archive and it seems that everyone had the same problem.

Class.forName("com.octetstring.jdbcLdap.sql.JdbcLdapDriver");
String sourceURL="jdbc:ldap://DSII.NET/DC=DSII?SEARCH_SCOPE:=subTreeScope";;
java.sql.Connection con;
con =DriverManager.getConnection(sourceURL,"CN=admin","password");
stmt=con.createStatement();      
rs = stmt.executeQuery("SELECT CN FROM DC=DSII");
      		while(rs.next())
      		{
      			System.out.println(rs.getString("CN"));
      		}								  
javax.naming.PartialResultException: [LDAP: error code 10 - 0000202B: RefErr: DS
ID-031006A4, data 0, 1 access points
        ref 1: 'dsii.dsii'
]; remaining name 'DC=DSII'
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2699)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2616)
at com.sun.jndi.ldap.LdapCtx.c_lookup(LdapCtx.java:931)
at com.sun.jndi.toolkit.ctx.ComponentContext.p_lookup(ComponentContext.j
ava:522)
..................

I tried to use other baseDn like DC=DSII,DC=NET but the problem still there.