The PasswordPolicyRequest SupportedControl is defined in draft-behera-ldap-password-policy
Both the PasswordPolicyRequest and passwordPolicyResponse controls have the same OID of 1.3.6.1.4.1.42.2.27.8.5.1.
The request control does not have a value.
The PasswordPolicyResponse value is encoded.
The Password Policy Control allows a client to request information about the current password policy information for a user entry.
You can specify the Password Policy Control with ldapsearch in a number of ways:
Option. Use the --usePasswordPolicyControl option.
Run the ldapsearch command with the --usePasswordPolicyControl option.
$ ldapsearch -h localhost -p 1389 -D "cn=Directory Manager" -w password -b dc=example,dc=com -s base --usePasswordPolicyControl "(objectclass=*)"