Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 381

Table of Contents

Advertisement

v
Returns
This function returns one of the following values:
0 if the password specified by
A non-zero value if the password
Description
This function replaces the deprecated
Directory Server releases.
When the Directory Server stores the password for an entry in the
attribute, it encodes the password using different schemes. Supported schemes are
SSHA
Use this function to determine if a given password is one of the values of the
userpassword
used to store the password and uses the appropriate comparison function to
compare a given value against the encoded values of the
See Also
slapi_is_encoded()
slapi_encode()
slapi_is_encoded()
Checks whether the specified value is encoded with any known algorithm.
Syntax
#include "slapi-plugin.h"
int slapi_is_encoded(char *value);
Parameters
This function takes the following parameters:
value
Pointer to the Slapi_Value structure containing the password that you
wish to check (for example, you can get this value from the
SLAPI_BIND_CREDENTIALS parameter in the parameter block and create
the Slapi_Value using slapi_value_init_berval()).
(default),
,
, and
SHA
CRYPT
attribute. This function determines which password scheme was
The value, the encoding status of which needs to be determined.
was found in
v
vals
was not found in
v
slapi_pw_find()
.
CLEAR
Functions for Handling Passwords
.
.
vals
function from previous
userpassword
attribute.
userpassword
Chapter 14
Function Reference
381

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents