Problem: Error When Changing User Password Through udm

Problem

When trying to change a user password through udm you are getting an error message:

univention-admin users/user modify --dn="uid=rolle,cn=users,dc=multi,dc=ucs" --set password="$PASSWORD"

The object type of this object differs from the specified object type: uid=rolle,cn=users,dc=multi,dc=ucs is not recognized as users/user.

Solution

The user does not have all needed objectClasses. Use univention-ldapsearch to idenfity or simply add the needed ones:
'posixAccount', 'shadowAccount', 'sambaSamAccount', 'person', 'krb5KDCEntry', 'krb5Principal'

Mastodon