Functions For Handling Passwords - Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual

Table of Contents

Advertisement

Functions for Handling Passwords

When setting parameters to register a plug-in, the plug-in type must always be set
first, since many of the plug-in parameters depend on the type. For example, set the
SLAPI_PLUGIN_TYPE
operation OIDs for the plug-in.
See Also
slapi_pblock_get()
Functions for Handling Passwords
This section contains reference information on routines for handling passwords.
The routines are listed in Table 14-22.
Table 14-22 Password Handling Routines
Function
slapi_pw_find_sv()
slapi_is_encoded()
slapi_encode()
slapi_pw_find_sv()
Determines whether or not a specified password matches one of the encrypted
values of an attribute. For example, you can call this function to determine if a
given password matches a value in the
Syntax
#include "slapi-plugin.h"
int slapi_pw_find_sv( Slapi_Value **vals, const Slapi_Value *v );
Parameters
This function takes the following parameters:
vals
380
Netscape Directory Server Plug-In Programmer's Guide • May 2002
to extended operation before setting the list of extended
Description
Determines whether or not a specified password matches one of the
encrypted values of an attribute.
Checks whether a value is encoded with any known algorithm.
Encodes a value with the specified algorithm.
Pointer to the array of Slapi_Value structure pointers, containing the
values of an attribute that stores passwords (for example, the userpassword
attribute).
attribute.
userpassword

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents