How To: Sync User Attributes (ie passwords) from 3rd party tools

Howto sync User Attributes (ie passwords) from 3rd party tools

Environment

You have a 3rd party tool or similar to allow your users to change their password and keep them in sync between the different services.
For this this tools needs to set the password on UCS if a user requests a password change. By stting the ldap-password it does not get synced to the subsequent services of UCS (Samba etc.).

Solution

Change your tools configuration not to set the ldap attributes of the account but instead use udm for this. Example call could be:

udm users/user modify --set password='PASSWORD' --dn 'uid=USERNAME,cn=users,dc=ucs-test,dc=local'
Mastodon