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: LDAP Query for Oracle

Re: LDAP Query for Oracle

From: Maxim Demenko <mdemenko_at_gmail.com>
Date: Mon, 09 May 2005 22:10:15 +0200
Message-ID: <d5og36$c2j$00$1@news.t-online.com>


amerar_at_iwc.net schrieb:
> Hi,
>
> I have the following code in my procedure:
>
> retval := DBMS_LDAP_UTL.get_group_membership ( my_session,
> user_handle,
> DBMS_LDAP_UTL.DIRECT_MEMBERSHIP,
> my_attrs,
> my_pset_coll );
>
> IF retval != DBMS_LDAP_UTL.SUCCESS THEN
> -- Handle Errors
> DBMS_OUTPUT.PUT_LINE('get_group_membership returns : ' ||
> to_char(retval));
> END IF;
>
> Depending on what user id information I pass, I get different return
> code values. Sometimes I get -3, sometimes 9, sometimes 34,
>
> I've been looking for an explanation of these return values......
>
> Does anyone know if they are in the manual, cuz I cannot find them.
>

Hi, all error codes are defined as constants in the dbms_ldap_utl package specification, you need to have proper rights to look into dba_source.

Best Regards

Maxim Received on Mon May 09 2005 - 15:10:15 CDT

Original text of this message

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