Bug 30932 - Wrong error message when trying to create an user with only samba option via CLI
Wrong error message when trying to create an user with only samba option via CLI
Status: RESOLVED DUPLICATE of bug 34481
Product: UCS
Classification: Unclassified
Component: UDM - CLI
UCS 3.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-28 11:53 CET by Lukas Walter
Modified: 2018-04-13 13:30 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
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 Lukas Walter univentionstaff 2013-03-28 11:53:29 CET
Users with set samba option need a primary group.

When creating such an user via CLI with set primary group, udm reports a missing primary group nevertheless.


=================================================================================
root@mas:~# univention-directory-manager users/user create --set username=36de1a09 --set lastname=a39dbd06 --set password=028ff380 --append groups="cn=Domain Admins,cn=groups,dc=ldap,dc=base" --set primaryGroup="cn=Domain Admins,cn=groups,dc=lwadev,dc=lwaqa" --option samba

-> Need a primary group with samba option to create a user with samba option
=================================================================================


Creation is successful when posix option is set too.
Comment 1 Florian Best univentionstaff 2016-09-07 17:54:57 CEST

*** This bug has been marked as a duplicate of bug 34481 ***