Univention Bugzilla – Bug 42856
UDM CLI should show default value of properties
Last modified: 2019-02-04 11:21:20 CET
"udm $module create" shows a list of the layout with all properties and if they are multivalue, etc. The list should show the default value and if the value is required with a '*'.
(In reply to Florian Best from comment #0) > The list should show ... if the value is required with a '*'. If you ever wondered about those cryptic 'cmre[]' flags in "udm $module" output, the 'c' encodes if a property is "required". See `man 8 udm`. Actually if you do `udm $module create` instead, you get a '*' for required attributes. Still no default values.
Both features (default values and required values) were requested during a technical training today. (In reply to Philipp Hahn from comment #1) > If you ever wondered about those cryptic 'cmre[]' flags in "udm $module" > output, the 'c' encodes if a property is "required". See `man 8 udm`. > Actually if you do `udm $module create` instead, you get a '*' for required > attributes. Thanks! Managed to overlook these for years ... primaryGroup and unixHome are also marked as required, but I can create users without specifying those - so we do have default values also for required attributes, I guess.
`man 8 udm` doesn't exists on my regular UCS 4.1 DC Master. How can I get it?
(In reply to Florian Best from comment #3) > `man 8 udm` doesn't exists on my regular UCS 4.1 DC Master. How can I get it? Bug #42926: /home/phahn/src/man/man8/univention-directory-manager.8
There is a Customer ID set so I set the flag "Enterprise Customer affected".
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.