NspmPasswordPolicy is the Password Policy object when using Universal Password on EDirectory.
Well technically, the "nsimAssignments" may hold the entries that the policy is assigned; however, the real test is if the entry has a value for the "nspmPasswordPolicyDN" attribute.
nspmPasswordPolicyDN=cn=generalusers,cn=Password Policies,cn=Security
The nspmPasswordPolicyDN is defined with the OID of 2.16.840.1.113719.1.39.43.4.6.
Determination of the password policy assignment follows this algorithm described in Determination Of Which Universal Password Policy Is Assigned
A typical NspmPasswordPolicy might be like:
<ForgottenPassword> <Enabled>true</Enabled> <Sequence> <Authentication><![CDATA[generalChalangeSet.Password Policies.Security]]></Authentication> <Action>ShowHint</Action> </Sequence> </ForgottenPassword>As the nsimChallengeSet is a single-valued attribute, there can be only one nsimChallengeSet for each nspmPasswordPolicy.
Also, there can only be one password policy assigned to each user.