From 4f5791ebd03eaec1c7da0865a383175b05102712 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 19:47:29 +0200 Subject: Adding upstream version 2:4.17.12+dfsg. Signed-off-by: Daniel Baumann --- docs-xml/smbdotconf/vfs/setquotacommand.xml | 46 +++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 docs-xml/smbdotconf/vfs/setquotacommand.xml (limited to 'docs-xml/smbdotconf/vfs/setquotacommand.xml') diff --git a/docs-xml/smbdotconf/vfs/setquotacommand.xml b/docs-xml/smbdotconf/vfs/setquotacommand.xml new file mode 100644 index 0000000..6ae6ef1 --- /dev/null +++ b/docs-xml/smbdotconf/vfs/setquotacommand.xml @@ -0,0 +1,46 @@ + + + The set quota command should only be used + whenever there is no operating system API available from the OS that + samba can use. + + This option is only available if Samba was compiled with + quota support. + + This parameter should specify the path to a script that + can set quota for the specified arguments. + + The specified script should take the following arguments: + + + 1 - path to where the quota needs to be set. + This needs to be interpreted relative to the current working + directory that the script may also check for. + 2 - quota type + + 1 - user quotas + 2 - user default quotas (uid = -1) + 3 - group quotas + 4 - group default quotas (gid = -1) + + 3 - id (uid for user, gid for group, -1 if N/A) + 4 - quota state (0 = disable, 1 = enable, 2 = enable and enforce) + 5 - block softlimit + 6 - block hardlimit + 7 - inode softlimit + 8 - inode hardlimit + 9(optional) - block size, defaults to 1024 + + + The script should output at least one line of data on success. And nothing on failure. + + +get quota command + + +/usr/local/sbin/set_quota + -- cgit v1.2.3