Database Administration (MOSC)

MOSC Banner

DBMS_LDAP intermittent issue

19.22

We use dbms_ldap in packages for years. always works. A new AD user was created. We query AD using one of many common methods (if youve used youll be familiar with this type of code)

-- Get all the values for this attribute.
l_vals := DBMS_LDAP.get_values (ld => l_session,
ldapentry => l_entry,
attr => l_attr_name);
<< values_loop >>
FOR i IN l_vals.FIRST .. l_vals.LAST LOOP
IF l_attr_name = 'cn' THEN
v_cname := l_vals(i);
ELSIF l_attr_name = 'sn' tHen
p_surname := l_vals(i);
ELSIF l_attr_name = 'givenName' THEN

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