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

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



Hi ,

I am also getting similar problem.
The ldap version is  openldap 3.0, and 
the database is ldbm which comes with open
ldap.

Adam, have you tried with this database?
Please let me know.

Thanks & Regards.

-----Original Message-----
From: Adam Williams
To: Marc Boorshtein
Cc: openldap-software@OpenLDAP.   org
Sent: 7/1/2003 1:05 AM
Subject: 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