Pass entry to password_quality check module, not just attrs

This commit is contained in:
Howard Chu 2004-12-01 16:02:27 +00:00
parent 996354e2dd
commit 8697bcdf7a

View File

@ -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