Univention Bugzilla – Bug 47403
inconsistent behavior of UDM Python property pwdChangeNextLogin
Last modified: 2020-06-22 18:53:15 CEST
When the "user must change password next login" option is set, the Python-UDM property "pwdChangeNextLogin" is set to the string '1'. When it is not set, the value is '' (empty string). To disable the option, pwdChangeNextLogin must be set to the string '0'. (Setting it to '' or None will not result in an error, but will be silently ignored.) After setting the property to '0', running modify() and reloading the UDM object, the value is not '0' anymore, but is now '' (empty string). 1. The property should be represented as a boolean. 2. When modified, it should keep the value, and not change it to a different one.