Calls

FUNCTION DBMS_LDAP.INIT (hostname IN VARCHAR2, portnum IN PLS_INTEGER) RETURN SESSION;

Establishes a session with the LDAP server on hostname port portnum.

FUNCTION DBMS_LDAP.SIMPLE_BIND_S (ld IN SESSION, dn IN VARCHAR2, passwd IN VARCHAR2) RETURN PLS_INTEGER;

Performs simple username (dn)/password (passwd) authentication. Returns a success flag.

FUNCTION DBMS_LDAP.BIND_S (ld IN SESSION, dn IN VARCHAR2, cred IN VARCHAR2, meth IN PLS_INTEGER) RETURN PLS_INTEGER;

Performs complex authentication using meth. Returns a success flag.

FUNCTION DBMS_LDAP.UNBIND_S (ld IN SESSION) RETURN PLS_INTEGER;

Unbinds the session for ld. Returns a success flag.

FUNCTION DBMS_LDAP.COMPARE_S (ld IN SESSION, dn IN VARCHAR2, attr IN VARCHAR2, value IN VARCHAR2) RETURN PLS_INTEGER;

Compares attr in dn with value. Returns a success flag.

FUNCTION DBMS_LDAP.SEARCH_S (ld IN SESSION, base IN VARCHAR2, scope IN PLS_INTEGER, filter IN VARCHAR2, attrs IN STRING_COLLECTION, attronly IN PLS_INTEGER, res OUT MESSAGE) RETURN PLS_INTEGER;

Performs a synchronous search of the ld server for attrs. Returns a success flag.

FUNCTION DBMS_LDAP.SEARCH_ST (ld IN SESSION, base IN VARCHAR2, scope IN PLS_INTEGER, filter IN VARCHAR2, attrs IN STRING_COLLECTION, attronly IN PLS_INTEGER, tv IN TIMEVAL, res OUT MESSAGE) RETURN PLS_INTEGER;

Performs a synchronous search of the ld server for attrs with a client-side timeout tv. Returns a success flag.

FUNCTION DBMS_LDAP.FIRST_ENTRY (ld IN SESSION, msg IN MESSAGE) RETURN MESSAGE; ...

Get Oracle in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.