Bug 44831 - Make Client Side Caching (CSC) configurable from a Windows Client
Make Client Side Caching (CSC) configurable from a Windows Client
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 4.2
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-20 18:26 CEST by Arvid Requate
Modified: 2020-07-03 20:54 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
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: 2017062021000532
Bug group (optional):
Max CVSS v3 score:


Attachments
changeshare (645 bytes, application/x-shellscript)
2017-06-20 18:26 CEST, Arvid Requate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2017-06-20 18:26:00 CEST
Created attachment 8942 [details]
changeshare

The "Client Side Caching" (CSC) policy for "Offline Files" can be adjusted im Windows on a per share basis. At the Windows client this can be adjusted remotely by opening the "Computer Management", connecting to a remote SMB file server and adjusting the properties of a share. When doing this against a UCS Samba server, an error message pops up, explaining that access as been denied.

In fact, only the "change share command" is not defined in smb.conf
=============================================================
[global]
        change share command = /usr/local/bin/changeshare
=============================================================

The attached patch shows a simple example script that allows to adjust the Client Side Caching policy remotely from a Windows client. The command is not very useful otherwise though currently:


* On Slaves & Memberservers the UDM call probably would require better credentials (or LDAP ACL changes)

* It could be used to add/adjust a comment to a share, but udm shares/share currently doesn't support to set a comment

* There is another "add share command", but I don't know what other things would need to be supported.
Comment 1 Ingo Steuwer univentionstaff 2020-07-03 20:54:50 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.