Bug 39203 - Missing description for "(In)Valid users or groups"
Missing description for "(In)Valid users or groups"
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC - Shares
UCS 4.0
Other Linux
: P5 enhancement (vote)
: UCS 4.0-x
Assigned To: UMC maintainers
:
: 44988 (view as bug list)
Depends on:
Blocks: 50701
  Show dependency treegraph
 
Reported: 2015-08-17 11:15 CEST by Philipp Hahn
Modified: 2020-01-09 17:07 CET (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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2015-08-17 11:15:00 CEST
The UMC module is missing a detailed description for sambaValidUsers and sambaInvalidUsers:

udm shares/share
...
  Samba permissions:
...
                sambaValidUsers (samba)                  Valid users or groups
                sambaInvalidUsers (samba)                Invalid users or groups

<http://docs.univention.de/manual-4.0.html#idp14257568> Table 11.4. 'Samba permissions' tab (advanced settings) has this valuable hint, which should be available from UMC inline:

> The entries are to be separated by spaces. The special characters @, + and & can be used in connection with the group name for assigning certain permissions to the users of the stated group for accessing the Samba share:
> * A name beginning with the character @ will first be interpreted as a NIS Netgroup. Should no NIS Netgroup of this name be found, the name will be considered as a UNIX group.
> * A name beginning with the character + will be exclusively considered as a UNIX group, a name beginning with the character & will be exclusively considered as a NIS Netgroup.
> * A name beginning with the characters +&, will first be interpreted as a UNIX group. Should no UNIX group of this name be found, the name will be considered as a NIS Netgroup. The characters &+ as the beginning of a name correspond to the character @.
Comment 1 Philipp Hahn univentionstaff 2015-08-17 11:16:18 CEST
Tech-Training Ticket#2015072121000318
Comment 2 Tobias Birkefeld univentionstaff 2015-09-23 10:12:48 CEST
Reported by a customer.
Also missing description how to set valid groups or users with spaces.

Correct answer:
@"Domain Users"
Comment 3 Arvid Requate univentionstaff 2015-09-24 11:36:11 CEST
Maybe we should make UMC quote (and de-quote for display) groups containing space correctly automatically.
Comment 4 Philipp Hahn univentionstaff 2016-08-26 18:06:30 CEST
Missed during UCS Technical training 2016-08 Task #4773
Comment 5 Florian Best univentionstaff 2017-07-12 14:59:34 CEST
*** Bug 44988 has been marked as a duplicate of this bug. ***
Comment 6 Florian Best univentionstaff 2017-11-08 14:49:47 CET
(In reply to Arvid Requate from comment #3)
> Maybe we should make UMC quote (and de-quote for display) groups containing
> space correctly automatically.
Yes, see also Bug #40599 containing a patch which does this for sambaWriteList.
Comment 7 Stefan Gohmann univentionstaff 2019-01-03 07:18:23 CET
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016.

Customers still on UCS 4.0 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.