How to List all Groups in OID Using PL/SQL API / DBMS_LDAP? (Doc ID 2126424.1)

Last updated on JUNE 15, 2017

Applies to:

Oracle Internet Directory - Version 9.0.4 to 11.1.1 [Release 10gR1 to 11g]
Information in this document applies to any platform.

Goal

How to list all groups that exist in Oracle Internet Directory (OID) using PL/SQL API / DBMS_LDAP?

Notes:

1. There is very little error handling in the following sample code example. This is a very simple code sample that is used to illustrate the necessary calls to list all the groups in OID. The sample code below is NOT supported by Oracle Support.

2. The ldap server name, port, and authentication values have been hard coded into the sample code example. Ensure to change these values to fit your environment before compiling/running the provided code on another system.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms