mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Pass entry to password_quality check module, not just attrs
This commit is contained in:
parent
996354e2dd
commit
8697bcdf7a
@ -425,7 +425,7 @@ function prototype:
|
|||||||
.RS 4
|
.RS 4
|
||||||
int
|
int
|
||||||
.I check_password
|
.I check_password
|
||||||
(char *pPasswd, char **ppErrStr, Attribute *pAttrs);
|
(char *pPasswd, char **ppErrStr, Entry *pEntry);
|
||||||
.RE
|
.RE
|
||||||
The
|
The
|
||||||
.B pPasswd
|
.B pPasswd
|
||||||
@ -434,8 +434,8 @@ parameter contains the clear-text user password, the
|
|||||||
parameter contains a double pointer that allows the function
|
parameter contains a double pointer that allows the function
|
||||||
to return human-readable details about any error it encounters.
|
to return human-readable details about any error it encounters.
|
||||||
The optional
|
The optional
|
||||||
.B pAttr
|
.B pEntry
|
||||||
parameter, if non-NULL, carries a list of the attributes for the
|
parameter, if non-NULL, carries a pointer to the
|
||||||
entry whose password is being checked.
|
entry whose password is being checked.
|
||||||
If
|
If
|
||||||
.B ppErrStr
|
.B ppErrStr
|
||||||
|
Loading…
Reference in New Issue
Block a user