Usage Notes. DBMS_LDAP.init() is the first function that should be called because it establishes a session with the LDAP server. Function DBMS_LDAP.init() returns a session handle, a pointer to an opaque structure that must be passed to subsequent calls pertaining to the session. This routine returns NULL and raises the INIT_FAILED exception if the session cannot be initialized.
dbms_ldap.compare_s (ld IN SESSION, dn IN VARCHAR2, attr IN VARCHAR2, value IN VARCHAR2) RETURN PLS_INTEGER TBD : COUNT_ENTRIES: Determines the number of entries in an LDAP result message chain: dbms_ldap.count_entries(ld IN SESSION, msg IN MESSAGE) RETURN PLS_INTEGER See Demos Below : COUNT_VALUES: Counts the number of values returned by get …
Variables: dbms_ldap.use_exception BOOLEAN DEFAULT TRUE Security Model: Owned by SYS with no privileges granted to any role : ADD_S: Adds a new entry to the LDAP directory.
Computers & electronics Software Oracle9i Supplied PL/SQL Packages and Types Reference, 8/6/2008 · So our IS_MEMBER function used the dbms_ldap.search_s function to search OID for the userid from :APP_USER using a search filter of ‘krbprincipalname=’ to return the DN format, which was then passed into the DBMS_LDAP.COMPARE_S function, to validate the user against the group …. all this effort, because we couldn’t figure out the htmldb._ldap …