Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_LDAP , 2 of 30
This function initializes a session with an LDAP server. This actually establishes a connection with the LDAP server.
DBMS_LDAP.init (hostname IN VARCHAR2, portnum IN PLS_INTEGER )RETURN SESSION;
Value | Description |
---|---|
|
A handle to an LDAP session that can be used for further calls into the API. |
DBMS_LDAP.init
is the first function that should be called in order to establish a session to the LDAP server. 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. Subsequent to the call to init,
the connection must be authenticated using DBMS_LDAP.bind_s
or DBMS_LDAP.simple_bind_s.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|