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

Re: JDBC-LDAP: Nothin' but object not-found



> Are you using any credentials with the JDBC driver?

I've tried both nothing, and my DN + password.  Both produce the same
results.

> > I'm attempting to setup JDBC-LDAP from within DbVisualizer 3.3
> > (http://www.dbvis.com/products/dbvis/).  It recognized the driver fine,
> > but any search comes up with -
> > 08:45:12  [SELECT - 0 rows, 0.006 sec]  [LDAP: error code 32 - No Such
> > Object]
> > The specific query in this case looks like - 
> > SELECT dn,sn,cn FROM ou=People WHERE sn=Williams
> > My connection string is -
> > jdbc:ldap://kohocton:389/o=Morrison
> > Industries,c=US?SEARCH_SCOPE:=subTreeScope
> > I can perform this search anonymously with ldapsearch -
> > [awilliam@estate2 awilliam]$ ldapsearch -x -b "o=Morrison
> > Industries,c=US" -h kohocton -p 389 -s sub sn=Williams sn cn
> > . . .
> > dn: cn=Adam Williams,ou=People,o=Morrison Industries, c=US
> > sn: Williams
> > cn: Adam Williams