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

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



i have not tried the drivers with db-visualizer, This type of "Object Not Found Error" seems to be pretty common.  I wonder, what directory are you using?


On Fri, 2003-06-27 at 09:01, Adam Williams wrote:
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
-- 
Marc Boorshtein, Software Engineer
Octet String Inc.
Phone: +1-847-466-1884
Email: marc.boorshtein@octetstring.com