Sometimes your requirements for a Change Password might include adding a ticket number or any other tracking information in other LDAP field after a Password change by the user. The Open Source Password Self Service – PWM – provides you this functionality thru the Section called Post Password Change Write Attributes.
This section allows you to introduce attributes to be written to ldap when a user is created. These attributes will be written to the user object just after writing the password.
To configure this feature you need:
1. Go to the Configuration Editor and Select Modules > Change Password
2. Scroll down in the Change Password configuration page and at the bottom you will see the section Called Post Password Change Write Attributes.
3. In this section introduce one or more attributes that you need to modify right after the password is changed for the user.
The format is name=value pair, multiple attributes can be specified by separating with a comma.
You can also use the PwmMacros here.
4. In our example we will use the Description attribute and put a string there
5. Save your changes and test. After the user password is changed the Description will contain the information we specified in the Post Password Change Write Attributes.