⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 slapo-ppolicy.5

📁 ldap服务器源码
💻 5
📖 第 1 页 / 共 2 页
字号:
users are not required to change their password upon binding afterthe administrator sets or resets the password..LP.RS 4(  1.3.6.1.4.1.42.2.27.8.1.13  NAME 'pwdMustChange'  EQUALITY booleanMatch  SYNTAX 1.3.6.1.4.1.1466.115.121.1.7  SINGLE-VALUE ).RE.B pwdAllowUserChange.PThis attribute specifies whether users are allowed to change their ownpasswords or not.  If.B pwdAllowUserChangeis set to "TRUE", or if the attribute is not present, users will beallowed to change their own passwords.  If its value is "FALSE",users will not be allowed to change their own passwords..LP.RS 4(  1.3.6.1.4.1.42.2.27.8.1.14   NAME 'pwdAllowUserChange'   EQUALITY booleanMatch   SYNTAX 1.3.6.1.4.1.1466.115.121.1.7   SINGLE-VALUE ).RE.B pwdSafeModify.PThis attribute denotes whether the user's existing password must be sentalong with their new password when changing a password.  If.B pwdSafeModifyis set to "TRUE", the existing password must be sentalong with the new password.  If the attribute is not present, orits value is "FALSE", the existing password need not be sentalong with the new password..LP.RS 4(  1.3.6.1.4.1.42.2.27.8.1.15   NAME 'pwdSafeModify'   EQUALITY booleanMatch   SYNTAX 1.3.6.1.4.1.1466.115.121.1.7   SINGLE-VALUE ).RE.B pwdCheckModule.PThis attribute names a user-defined loadable module that mustinstantiate the check_password() function.  This functionwill be called to further check a new password if.B pwdCheckQualityis set to one (1) or two (2),after all of the built-in password compliance checks havebeen passed.  This function will be called according to thisfunction prototype:.RS 4int.I check_password(char *pPasswd, char **ppErrStr, Entry *pEntry);.REThe.B pPasswdparameter contains the clear-text user password, the.B ppErrStrparameter contains a double pointer that allows the functionto return human-readable details about any error it encounters.The optional.B pEntryparameter, if non-NULL, carries a pointer to theentry whose password is being checked.If.B ppErrStris NULL, then .I funcNamemust NOT attempt to use it/them.A return value of LDAP_SUCCESS from the calledfunction indicates that the password is ok, any other valueindicates that the password is unacceptable.  If the password isunacceptable, the server will return an error to the client, and.B ppErrStrmay be used to return a human-readable textual explanation of theerror. The error string must be dynamically allocated as it willbe free()'d by slapd..LP.RS 4(  1.3.6.1.4.1.4754.1.99.1   NAME 'pwdCheckModule'   EQUALITY caseExactIA5Match   SYNTAX 1.3.6.1.4.1.1466.115.121.1.26   SINGLE-VALUE ).RE.PNote: The user-defined loadable module named by.B pwdCheckModule     must be in.B slapd'sstandard executable search PATH..PNote:.B pwdCheckModuleis a non-standard extension to the LDAP passwordpolicy proposal..SH OPERATIONAL ATTRIBUTES.PThe operational attributes used by the.B passwd_policymodule are stored in the user's entry.  Most of these attributesare not intended to be changed directly by users; they are thereto track user activity.  They have been detailed here so thatadministrators and users can both understand the workings ofthe.B ppolicymodule..B userPassword.PThe.b userPasswordattribute is not strictly part of the.B ppolicymodule.  It is, however, the attribute that is tracked and controlledby the module.  Please refer to the standard OpenLDAP schema forits definition..B pwdPolicySubentry.PThis attribute refers directly to the.B pwdPolicysubentry that is to be used for this particular directory user.If.B pwdPolicySubentryexists, it must contain the DN of a valid.B pwdPolicyobject.  If it does not exist, the.B ppolicymodule will enforce the default password policy rules on theuser associated with this authenticating DN. If there is nodefault, or the referenced subentry does not exist, then nopolicy rules will be enforced..LP.RS 4(  1.3.6.1.4.1.42.2.27.8.1.23   NAME 'pwdPolicySubentry'   DESC 'The pwdPolicy subentry in effect for       this object'   EQUALITY distinguishedNameMatch   SYNTAX 1.3.6.1.4.1.1466.115.121.1.12   SINGLE-VALUE   NO-USER-MODIFICATION   USAGE directoryOperation).RE.B pwdChangedTime.PThis attribute denotes the last time that the entry's password waschanged.  This value is used by the password expiration policy todetermine whether the password is too old to be allowed to be usedfor user authentication.  If.B pwdChangedTimedoes not exist, the user's password will not expire..LP.RS 4(  1.3.6.1.4.1.42.2.27.8.1.16   NAME 'pwdChangedTime'   DESC 'The time the password was last changed'   SYNTAX 1.3.6.1.4.1.1466.115.121.1.24   EQUALITY generalizedTimeMatch   ORDERING generalizedTimeOrderingMatch   SINGLE-VALUE   NO-USER-MODIFICATION   USAGE directoryOperation).RE.B pwdAccountLockedTime.PThis attribute contains the time that the user's account was locked.If the account has been locked, the password may no longer be used toauthenticate the user to the directory.  If.B pwdAccountLockedTime   is set to zero (0), the user's account has been permanently lockedand may only be unlocked by an administrator..LP.RS 4(  1.3.6.1.4.1.42.2.27.8.1.17   NAME 'pwdAccountLockedTime'   DESC 'The time an user account was locked'   SYNTAX 1.3.6.1.4.1.1466.115.121.1.24   EQUALITY generalizedTimeMatch   ORDERING generalizedTimeOrderingMatch   SINGLE-VALUE   NO-USER-MODIFICATION   USAGE directoryOperation).RE.B pwdFailureTime.PThis attribute contains the timestamps of each of the consecutiveauthentication failures made upon attempted authentication to thisDN (i.e. account).  If too many timestamps accumulate here (refer tothe.B pwdMaxFailurepassword policy attribute for details),and the.B pwdLockoutpassword policy attribute is set to "TRUE", theaccount may be locked.(Please also refer to the.B pwdLockoutpassword policy attribute.)Excess timestamps beyond those allowed by.B pwdMaxFailuremay also be purged.  If a successful authentication is made to thisDN (i.e. to this user account), then.B pwdFailureTime   will be cleansed of entries..LP.RS 4(  1.3.6.1.4.1.42.2.27.8.1.19   NAME 'pwdFailureTime'   DESC 'The timestamps of the last consecutive       authentication failures'   SYNTAX 1.3.6.1.4.1.1466.115.121.1.24   EQUALITY generalizedTimeMatch   ORDERING generalizedTimeOrderingMatch   NO-USER-MODIFICATION   USAGE directoryOperation ).RE.B pwdHistory.PThis attribute contains the history of previously used passwordsfor this DN (i.e. for this user account).The values of this attribute are stored in string format as follows:.RS 4pwdHistory=.RS 4time "#" syntaxOID "#" length "#" data.REtime=.RS 4generalizedTimeString as specified in section 6.14 of [RFC2252].RE.PsyntaxOID = numericoid.RS 4This is the string representation of the dotted-decimal OID thatdefines the syntax used to store the password.  numericoid isdescribed in section 4.1 of [RFC2252]..RElength = numericstring.RS 4The number of octets in the data.  numericstring is described insection 4.1 of [RFC2252]..REdata =.RS 4Octets representing the password in the format specified by syntaxOID..RE.REThis format allows the server to store and transmit a history ofpasswords that have been used.  In order for equality matchingon the values in this attribute to function properly, the timefield is in GMT format..LP.RS 4(  1.3.6.1.4.1.42.2.27.8.1.20   NAME 'pwdHistory'   DESC 'The history of user passwords'   SYNTAX 1.3.6.1.4.1.1466.115.121.1.40   EQUALITY octetStringMatch   NO-USER-MODIFICATION   USAGE directoryOperation).RE.B pwdGraceUseTimeThis attribute contains the list of timestamps of logins made afterthe user password in the DN has expired.  These post-expirationlogins are known as "\fIgrace logins\fP".If too many.I grace loginshave been used (please refer to the.B pwdGraceLoginLimitpassword policy attribute), then the DN will no longer be allowedto be used to authenticate the user to the directory until theadministrator changes the DN's.B userPasswordattribute..LP.RS 4(  1.3.6.1.4.1.42.2.27.8.1.21   NAME 'pwdGraceUseTime'   DESC 'The timestamps of the grace login once the password has expired'   SYNTAX 1.3.6.1.4.1.1466.115.121.1.24   EQUALITY generalizedTimeMatch   NO-USER-MODIFICATION   USAGE directoryOperation).RE.B pwdReset.PThis attribute indicates whether the user's password has been resetby the administrator and thus must be changed upon first use of thisDN for authentication to the directory.  If.B pwdReset   is set to "TRUE", then the password was reset and the user must changeit upon first authentication.  If the attribute does not exist, oris set to "FALSE", the user need not change their password due toadministrative reset..LP.RS 4(  1.3.6.1.4.1.42.2.27.8.1.22   NAME 'pwdReset'   DESC 'The indication that the password has       been reset'   EQUALITY booleanMatch   SYNTAX 1.3.6.1.4.1.1466.115.121.1.7   SINGLE-VALUE   USAGE directoryOperation).RE.SH EXAMPLES.LP.RS.nfdatabase bdbsuffix dc=example,dc=com\...overlay ppolicyppolicy_default "cn=Standard,ou=Policies,dc=example,dc=com".fi.RE.SH SEE ALSO.BR ldap (3),.BR slapd.conf (5),.LP"OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/).LPIETF LDAP password policy proposal by P. Behera, L.  Poitou and J.Sermersheim:  documented in IETF document"draft-behera-ldap-password-policy-09.txt"..SH BUGSThe LDAP Password Policy specification is not yet an approved standard,and it is still evolving. This code will continue to be in flux until thespecification is finalized..SH ACKNOWLEDGEMENTS.PThis module was written in 2004 by Howard Chu of Symas Corporationwith significant input from Neil Dunbar and Kartik Subbarao of Hewlett-Packard..PThis manual page borrows heavily and shamelessly from the specificationupon which the password policy module it describes is based.  Thissource is theIETF LDAP password policy proposal by P. Behera, L.Poitou and J. Sermersheim.The proposal is fully documented intheIETF document named draft-behera-ldap-password-policy-09.txt,written in July of 2005..P.B OpenLDAPis developed and maintained by The OpenLDAP Project (http://www.openldap.org/)..B OpenLDAPis derived from University of Michigan LDAP 3.3 Release.  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -