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
0