Information About The Connection - Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual

Table of Contents

Advertisement

Information About the Connection

The parameters listed below specify information about the connection. These
parameters are available for all types of plug-ins.
Parameter ID
SLAPI_CONNECTION
SLAPI_CONN_ID
SLAPI_CONN_DN
SLAPI_CONN_AUTHMETOD
SLAPI_CONN_AUTHTYPE
SLAPI_CONN_CLIENTIP
Data Type
Slapi_Connection *
int
char *
char *
char *
struct in_addr
Parameters Accessible to All Plug-Ins
Description
Information about the current client connection.
ID identifying the current connection.
DN of the user authenticated on the current
connection. If you call slapi_pblock_get()
to get this DN, you should call
slapi_ch_free_string() to free the
resulting DN when done.
Method used to authenticate the current user. If
you call slapi_pblock_get() to get this
value, you should call
slapi_ch_free_string() to free the
resulting value when done. This parameter can
have one of the following values:
• SLAPD_AUTH_NONE specifies that no
authentication mechanism was used (for
example, in cases of anonymous
authentication).
• SLAPD_AUTH_SIMPLE specifies that simple
authentication (user name and password)
was used to authenticate the current user.
• SLAPD_AUTH_SSL specifies that SSL
(certificate-based authentication) was used to
authenticate the current user.
• SLAPD_AUTH_SASL specifies that a SASL
(simple authentication and security layer)
mechanism was used to authenticate the
current user.
This parameter has been deprecated for the 6.02
or higher release. Use
SLAPI_CONN_AUTHMETHOD instead.
IP address of the client requesting the operation.
This parameter has been replaced by
SLAPI_CONN_CLIENTADDR, but is provided
here for backward compatibility.
Chapter 15
Parameter Block Reference
499

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents