Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Another Oracle LDAP Question
DBMS_LDAP.SESSION - is type defined in dbms_ldap DBMS_LDAP_UTL.HANDLE - is type defined in dbms_ldap_util DBMS_LDAP_UTL.DIRECT_MEMBERSHIP - is a constant defined in dbms_ldap_utl
All of them are fully ok and as much 9i specific as 8i too. I am trying to understand what you are doing, but i fail. Possibly that helps:
in the DBMS_LDAP are mostly functions included , which can be used to query any LDAP compatible directory service, as there are implemented generic ldap specific operations like ldapsearch,ldapmodify and so on. In the DBMS_LDAP_UTL are mostly functions designed to work only with OID, as they expect to find some context deployed into directory (so called OracleContext ), in case OracleContext can not be found in the LDAP ( as in the case of OpenLDAP or MS AD ) they throws exceptions.
Maybe i am bothering you with my suggestions, but why don't you first try to read the manuals ? A very good startpoint ( as for me ) can be http://www.oracle.com/technology/products/oid/oidhtml/oidqs/html_masters/gsmain.htm
Best regards
Maxim
amerar_at_iwc.net schrieb:
> Hi All,
>
> I am working on getting LDAP to work in 8i. I downloaded a script
> from Metalink that is supposed to help return values.
>
> I think the DBMS_LDAP_UTL.GET_GROUP_MEMBERSHIP function is not working
> because it throws an error.
>
> I noticed the swcript used the following package procedures. I was
> wondering if anyone knows if any of these are 9i specific, and maybe
> that is the issue:
>
> DBMS_LDAP.SESSION
> DBMS_LDAP_UTL.HANDLE
> DBMS_LDAP_UTL.DIRECT_MEMBERSHIP
>
> Thanks.
>
> Arthur
>
Received on Fri May 06 2005 - 17:26:46 CDT
![]() |
![]() |