Howto/Problem: Set default values for UDM properties / cannot set default value for checkbox pwdChangeNextLogin via UCR

Problem:

The default value of most UDM properties can be set via the UCR variables
directory/manager/web/modules/users/user/wizard/property/..../default=.... but for the property pwdChangeNextLogin the default cannot be changed via e.g.
ucr set directory/manager/web/modules/users/user/wizard/property/pwdChangeNextLogin/default=true

Answer:

With the following variable and value it can be done:

ucr set directory/manager/web/modules/users/user/properties/pwdChangeNextLogin/default=1
pkill -f univention-cli-server
2 Likes

Not with that variable and value, but with this:

ucr set directory/manager/web/modules/users/user/properties/pwdChangeNextLogin/default=1
pkill -f univention-cli-server