diff options
author | Tobias K <6317548+theCalcaholic@users.noreply.github.com> | 2020-03-03 04:56:52 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2020-03-16 07:23:45 +0300 |
commit | c49c3900bedb4d16abe8615c921d4006cd16cd91 (patch) | |
tree | 76fad1ca13da03b756def6082fdc3b2c1b39c7ef /etc | |
parent | 9304c86a0330d31826c109f4916ee56a5239d96a (diff) |
samba: option to apply only to a NC group (#1048)v1.22.1
Signed-off-by: Tobias Knöppler
Co-authored-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ncp-config.d/samba.cfg | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/ncp-config.d/samba.cfg b/etc/ncp-config.d/samba.cfg index 084a2be4..5ec6c05c 100644 --- a/etc/ncp-config.d/samba.cfg +++ b/etc/ncp-config.d/samba.cfg @@ -2,7 +2,7 @@ "id": "samba", "name": "Samba", "title": "samba", - "description": "SMB/CIFS file server (for Mac/Linux/Windows)", + "description": "SMB/CIFS file server (for Mac/Linux/Windows)\nIf a group filter is given, samba shares will only be set up for users of that group.", "info": "The username will be the Nextcloud username, and the password will be one we setup here.\nIf we intend to modify the data folder through SAMBA,\nthen we have to synchronize NextCloud to make it aware of the changes.\n\nThis can be done manually or automatically using 'nc-scan' and 'nc-scan-auto'", "infotitle": "Instructions for external synchronization", "params": [ @@ -17,6 +17,12 @@ "name": "Password", "value": "ownyourbits", "type": "password" + }, + { + "id": "FILTER_BY_GROUP", + "name": "Filter by NC group", + "value": "", + "suggest": "optional NC group" } ] } |