PL/SQL (MOSC)

MOSC Banner

updating an open ldap server from an oracle proceedure question

edited Mar 12, 2013 2:50AM in PL/SQL (MOSC) 2 commentsAnswered
I am working on adding/modifying/deleting in an open ldap server.  I have created a search and I have it working and have just started with the add section of the procedure.  I have looked at several different examples on the internet and have a few questions:
An example to add a user in the ldap server:

my_vals_cn := DBMS_LDAP.create_mod_array(1);
my_vals_cn(1) := 'Joe Smith';
DBMS_LDAP.populate_mod_array(my_array, DBMS_LDAP.MOD_ADD, 'cn', my_vals_cn);

*** I don't understand the following can someone explain the following section
my_vals_obj := DBMS_LDAP.create_mod_array(3);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center