Bug 48847 - Allow users to use the udm CLI with the default ldap base without needing to type it out
Allow users to use the udm CLI with the default ldap base without needing to ...
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM - CLI
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-04 20:54 CET by Arvid Requate
Modified: 2019-03-04 22:06 CET (History)
1 user (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?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2019-03-04 20:54:21 CET
It would be great, if UDM CLI would support using the ldap/base of the domain by default, so users don't need to type it out. That would also simplify the documentation of cool solutions, knowledge base articles and enhance the user experience of examples provided in UCS manuals.

Example:

udm groups/group create --set name=group1 \
                        --ldap-base --position cn=groups \       
                        --binddn uid=Administrator,dn=users

udm users/user create --set username=users --set lastname=name1 \
                      --set password=univention \
                      --ldap-base --position cn=users \
                      --set groups=cn=group1,cn=groups \
                      --binddn uid=Administrator,dn=users
Comment 1 Arvid Requate univentionstaff 2019-03-04 21:02:21 CET
For your and my information: Currently this only works partly:


udm groups/group create --set name=group2 \
                        --position cn=groups
Object created: cn=group2,cn=groups,dc=ar440pt1,dc=qa


udm users/user create --set username=user8 --set lastname=last1 \
                      --position cn=users --set password=univention \
                      --set groups=cn=group2,cn=groups
E: object not found: cn=group1,cn=groups