Univention Bugzilla – Bug 48847
Allow users to use the udm CLI with the default ldap base without needing to type it out
Last modified: 2019-03-04 22:06:03 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
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