---
title: pwdPolicy
description: Password policy that is part of the directory data and can be replicated.
component: pingds
version: 8.1
page_id: pingds:schemaref:oc-pwdPolicy
canonical_url: https://docs.pingidentity.com/pingds/8.1/schemaref/oc-pwdPolicy.html
---

# pwdPolicy

Password policy that is part of the directory data and can be replicated.

|                       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *OID*                 | 1.3.6.1.4.1.42.2.27.8.2.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| *Names*               | pwdPolicy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| *Superior classes*    | [top](oc-top.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| *Class type*          | AUXILIARY: for use in augmenting attributes of entries that already have a structural object class.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| *Required attributes* | [objectClass](at-objectClass.html), [pwdAttribute](at-pwdAttribute.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| *Optional attributes* | [pwdAllowUserChange](at-pwdAllowUserChange.html), [pwdCheckQuality](at-pwdCheckQuality.html), [pwdExpireWarning](at-pwdExpireWarning.html), [pwdFailureCountInterval](at-pwdFailureCountInterval.html), [pwdGraceAuthNLimit](at-pwdGraceAuthNLimit.html), [pwdInHistory](at-pwdInHistory.html), [pwdLockout](at-pwdLockout.html), [pwdLockoutDuration](at-pwdLockoutDuration.html), [pwdMaxAge](at-pwdMaxAge.html), [pwdMaxFailure](at-pwdMaxFailure.html), [pwdMinAge](at-pwdMinAge.html), [pwdMinLength](at-pwdMinLength.html), [pwdMustChange](at-pwdMustChange.html), [pwdSafeModify](at-pwdSafeModify.html) |
| *Origin*              | [draft-behera-ldap-password-policy](https://datatracker.ietf.org/doc/html/draft-behera-ldap-password-policy)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| *Schema file*         | 01-pwpolicy.ldif                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
