IBM Verify

 View Only

 Password Policy for LDAP

Ilona Truba's profile image
Ilona Truba posted Mon March 03, 2025 04:14 AM

Hey everyone,

in the SDS, I’m trying to set up a password policy where users can't reuse their last 5 passwords when they change it. Here’s what I’ve done so far:

  1. Created a new group (Last5NotAllowedPwdPolicyGroup) with a test user as a member.
  2. Created a pwdPolicy “Last5NotAllowed” with pwdInHistory = 5 and pwdCheckSyntax = 1 and passwordMinDiffChars = 1 according to the documentation 
  3. Uploaded mypolicy.ldif file via "Custom File Management." and ran it from the SDS console client_tools to attach the pwdPolicy to the group:
  • dn: Last5NotAllowedPwdPolicyGroup
    changetype: modify
    add: ibm-pwdGroupPolicyDN
    ibm-pwdGroupPolicyDN: cn=Last5NotAllowed,cn=ibmpolicies 

The file ran without errors, and I got this message: Operation 0 modifying entry Last5NotAllowedPwdPolicyGroup

However, the policy isn’t working as expected. The test user isn’t affected and can still change their password without any issue regarding the last 5 passwords.

I also enabled enhanced-pwd-policy = yes within the [LDAP]-stanza in the ldap.conf of the ISVA runtime.

I also tried just setting the pwdInHistory attribute and leaving the others on the default value.

We are using hashed passwords, so I am unsure about the correct usage of the passwordMinDiffChars attribute.

Any idea what I might have missed or what else I should check? 

Thanks a lot for any help!

Eamonn O'Mahony's profile image
Eamonn O'Mahony

Hi Ilona

Are you planning to use this as a group-specific policy or for all users (global policy)?

There are settings to be set depending on your approach. 

Group settings: https://www.ibm.com/docs/en/svd/10.0.1?topic=settings-group-password-policy

Global settings: https://www.ibm.com/docs/en/svd/10.0.3?topic=settings-global-password-policy

Best

Ramamohan Reddy's profile image
Ramamohan Reddy

Hi,

Check if the ibm-pwdpolicy is set to true on both global as well as group/individual password policies.
Also you need to try setting pwdchecksyntax to 2 to enforce the strict checking of the password syntax.
Refer to https://www.ibm.com/docs/en/svd/10.0.3?topic=gpps-enhanced-password-policy-behavior-one-way-encryption-method
You can always open case with IBM support so that the info can be reviewed and timely answer is provided by support engineer.

Thanks,
Ram.