Defining Your Authentication Function; Getting And Checking The Bind Parameters - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Figure 8-2
How Your Pre-Operation Bind Plug-in Function Can Authenticate LDAP
Clients

Defining Your Authentication Function

The following sections cover guidelines that you can follow when defining your
authentication function:

Getting and Checking the Bind Parameters

Getting the Entry and Checking the Credentials
What to Do If Authentication Fails
What to Do If Authentication Succeeds
NOTE
Be sure to check this source file for an example of a pre-operation
plug-in function that handles authentication:
<server_root>/plugins/slapd/slapi/examples/testbind.c
Getting and Checking the Bind Parameters
Call the
slapi_pblock_get()
parameters:
SLAPI_BIND_TARGET
attempting to authenticate)
SLAPI_BIND_METHOD
method, such as
function to get the values of the following
— A string value specifying the DN as which the client is
— An integer value specifying the authentication
or
LDAP_AUTH_SIMPLE
Chapter 8
Writing a Pre-Operation Bind Plug-in
.
LDAP_AUTH_SASL
Defining Functions for Authentication
107

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents