Bug 42856 - UDM CLI should show default value of properties
UDM CLI should show default value of properties
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: UDM - CLI
UCS 4.4
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-05 00:46 CET by Florian Best
Modified: 2019-02-04 11:21 CET (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2016-11-05 00:46:16 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 '*'.
Comment 1 Philipp Hahn univentionstaff 2016-11-07 08:36:18 CET
(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.
Comment 2 Michael Grandjean univentionstaff 2016-11-07 20:37:14 CET
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.
Comment 3 Florian Best univentionstaff 2016-11-10 14:34:17 CET
`man 8 udm` doesn't exists on my regular UCS 4.1 DC Master. How can I get it?
Comment 4 Philipp Hahn univentionstaff 2016-11-11 12:48:20 CET
(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
Comment 5 Florian Best univentionstaff 2017-06-28 14:52:51 CEST
There is a Customer ID set so I set the flag "Enterprise Customer affected".
Comment 6 Stefan Gohmann univentionstaff 2019-01-03 07:19:14 CET
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.