<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->
<schema name="pwdpolicy">
  <attributetypes>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.11" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdMaxFailure</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.31" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdMaxLength</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.5" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdCheckQuality</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.21" obsolete="false" singlevalue="false" collective="false" nousermodification="true">
      <aliases>
        <alias>pwdGraceUseTime</alias>
      </aliases>
      <description>The timestamps of the grace authentication after the password has expired</description>
      <usage>DIRECTORY_OPERATION</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.24</syntax>
      <equality>generalizedTimeMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.4" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdInHistory</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.16" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
      <aliases>
        <alias>pwdChangedTime</alias>
      </aliases>
      <description>The time the password was last changed</description>
      <usage>DIRECTORY_OPERATION</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.24</syntax>
      <equality>generalizedTimeMatch</equality>
      <ordering>generalizedTimeOrderingMatch</ordering>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.7" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdExpireWarning</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.6" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdMinLength</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.8" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdGraceAuthNLimit</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.24" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdMinDelay</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.1" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdAttribute</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.38</syntax>
      <equality>objectIdentifierMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.26" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdMaxIdle</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.23" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
      <aliases>
        <alias>pwdPolicySubentry</alias>
      </aliases>
      <description>The pwdPolicy subentry in effect for this object</description>
      <usage>DIRECTORY_OPERATION</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.12</syntax>
      <equality>distinguishedNameMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.17" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
      <aliases>
        <alias>pwdAccountLockedTime</alias>
      </aliases>
      <description>The time an user account was locked</description>
      <usage>DIRECTORY_OPERATION</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.24</syntax>
      <equality>generalizedTimeMatch</equality>
      <ordering>generalizedTimeOrderingMatch</ordering>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.3" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdMaxAge</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.12" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdFailureCountInterval</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.9" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdLockout</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.7</syntax>
      <equality>booleanMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.28" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
      <aliases>
        <alias>pwdEndTime</alias>
      </aliases>
      <description>The time the password becomes disabled</description>
      <usage>DIRECTORY_OPERATION</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.24</syntax>
      <equality>generalizedTimeMatch</equality>
      <ordering>generalizedTimeOrderingMatch</ordering>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.13" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdMustChange</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.7</syntax>
      <equality>booleanMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.19" obsolete="false" singlevalue="false" collective="false" nousermodification="true">
      <aliases>
        <alias>pwdFailureTime</alias>
      </aliases>
      <description>The timestamps of the last consecutive authentication failures</description>
      <usage>DIRECTORY_OPERATION</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.24</syntax>
      <equality>generalizedTimeMatch</equality>
      <ordering>generalizedTimeOrderingMatch</ordering>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.25" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdMaxDelay</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.30" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdGraceExpire</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.20" obsolete="false" singlevalue="false" collective="false" nousermodification="true">
      <aliases>
        <alias>pwdHistory</alias>
      </aliases>
      <description>The history of user s passwords</description>
      <usage>DIRECTORY_OPERATION</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.40</syntax>
      <equality>octetStringMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.22" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdReset</alias>
      </aliases>
      <description>The indication that the password has been reset</description>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.7</syntax>
      <equality>booleanMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.15" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdSafeModify</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.7</syntax>
      <equality>booleanMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.27" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
      <aliases>
        <alias>pwdStartTime</alias>
      </aliases>
      <description>The time the password becomes enabled</description>
      <usage>DIRECTORY_OPERATION</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.24</syntax>
      <equality>generalizedTimeMatch</equality>
      <ordering>generalizedTimeOrderingMatch</ordering>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.10" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdLockoutDuration</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.14" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdAllowUserChange</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.7</syntax>
      <equality>booleanMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.2" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
      <aliases>
        <alias>pwdMinAge</alias>
      </aliases>
      <usage>USER_APPLICATIONS</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
      <equality>integerMatch</equality>
    </attributetype>
    <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.29" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
      <aliases>
        <alias>pwdLastSuccess</alias>
      </aliases>
      <description>The timestamp of the last successful authentication</description>
      <usage>DIRECTORY_OPERATION</usage>
      <syntax>1.3.6.1.4.1.1466.115.121.1.24</syntax>
      <equality>generalizedTimeMatch</equality>
      <ordering>generalizedTimeOrderingMatch</ordering>
    </attributetype>
  </attributetypes>
  <objectclasses>
    <objectclass oid="1.3.6.1.4.1.42.2.27.8.2.1" obsolete="false">
      <aliases>
        <alias>pwdPolicy</alias>
      </aliases>
      <description>class to hold the PasswordPolicy parameters</description>
      <superiors>
        <superior>top</superior>
      </superiors>
      <type>AUXILIARY</type>
      <mandatory>
        <attributetype>pwdAttribute</attributetype>
      </mandatory>
      <optional>
        <attributetype>pwdMinAge</attributetype>
        <attributetype>pwdMaxAge</attributetype>
        <attributetype>pwdInHistory</attributetype>
        <attributetype>pwdCheckQuality</attributetype>
        <attributetype>pwdMinLength</attributetype>
        <attributetype>pwdMaxLength</attributetype>
        <attributetype>pwdExpireWarning</attributetype>
        <attributetype>pwdGraceAuthNLimit</attributetype>
        <attributetype>pwdGraceExpire</attributetype>
        <attributetype>pwdLockout</attributetype>
        <attributetype>pwdLockoutDuration</attributetype>
        <attributetype>pwdMaxFailure</attributetype>
        <attributetype>pwdFailureCountInterval</attributetype>
        <attributetype>pwdMustChange</attributetype>
        <attributetype>pwdAllowUserChange</attributetype>
        <attributetype>pwdSafeModify</attributetype>
        <attributetype>pwdMinDelay</attributetype>
        <attributetype>pwdMaxDelay</attributetype>
        <attributetype>pwdMaxIdle</attributetype>
      </optional>
    </objectclass>
  </objectclasses>
</schema>
