Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL accessing LDAP server

Re: PL/SQL accessing LDAP server

From: Mark Bole <makbo_at_pacbell.net>
Date: Thu, 17 Feb 2005 17:05:36 GMT
Message-ID: <A94Rd.857$Pz7.258@newssvr13.news.prodigy.com>


M Rothwell wrote:
> I am trying to get information from an LDAP server using the DBMS_LDAP
> package. I got the following code from the sample directory that came
> with the Oracle dist.
>
> I have the correct LDAP server and port. I can init and bind, but when
> I get to the search_st procedure it errors out with the following message:
>
> Error Message : ORA-31202: DBMS_LDAP: LDAP client/server error: No such
> object
>
> I'm using Oracle 9i R2 on HP-UX.
>
> I have tried different filters and scopes, but still get the same error.
> Any help would be much appreciated.

[...]
> ldap_base := 'cn=Users,o=mycomp,dc=com';
> -- end of customizable settings

[...]

It's been a while since I've used this, but is it possible your ldap_base isn't quite right? It would be easy to test without the "cn=Users" piece.

-Mark Bole Received on Thu Feb 17 2005 - 11:05:36 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US