Show Table of Contents
36.4. slapi_add_pwd_control()
Sends back information about expired or expiring passwords.
Syntax
#include "slapi-plugin.h" int slapi_add_pwd_control ( Slapi_PBlock *pb, char *arg, long time )
Parameters
This function takes the following parameter:
|
pb
| Parameter block. |
|
arg
| Argument to the function. |
Returns
This function returns one of the following values:
LDAP_CONTROL_PWEXPIRED(0) if the password has expired.LDAP_CONTROL_PWEXPIRING(1, with the time in seconds) if the password has not yet expired but is within the warning period.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.