Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_LDAP , 4 of 30


bind_s Function

This function performs complex authentication to the directory server.

Syntax

DBMS_LDAP.bind_s (    

ld  IN SESSION,
dn  IN VARCHAR2,
passwd  IN VARCHAR2,
meth  IN PLS_INTEGER )
RETURN PLS_INTEGER;

Parameters
Table 20-10 bind_s Function Parameters
Parameter  Description 

ld 

A valid LDAP session handle. 

dn 

The distinguished name of the user under which you are trying to login. 

cred  

A text string containing the credentials used for authentication. 

meth 

The authentication method. 

Return Values
Table 20-11 bind_s Function Return Values
Value  Description 

PLS_INTEGER  

DBMS_LDAP.SUCCESS on a successful completion. One of the exceptions in Table 20-12 is raised if there is a problem. 

Exceptions
Table 20-12 bind_s Function Exceptions
Exception  Description 

invalid_session 

Raised if the session handle ld is invalid. 

invalid_auth_method 

Raised if the authentication method requested is not supported. 

mts_mode_not_supported 

Raised if invoked from a user session that is logged onto an MTS service. 

general_error 

For all other errors. The error string associated with this exception explains the error in detail. 

Usage Notes

DBMS_LDAP.bind_s can be used to authenticate a user. It can be called only after a valid LDAP session handle is obtained from a call to DBMS_LDAP.init.

See Also:

 

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback