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/getquotacommand.xml | 58 +++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 docs-xml/smbdotconf/vfs/getquotacommand.xml (limited to 'docs-xml/smbdotconf/vfs/getquotacommand.xml') diff --git a/docs-xml/smbdotconf/vfs/getquotacommand.xml b/docs-xml/smbdotconf/vfs/getquotacommand.xml new file mode 100644 index 0000000..9422b7e --- /dev/null +++ b/docs-xml/smbdotconf/vfs/getquotacommand.xml @@ -0,0 +1,58 @@ + + + The get 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 Samba was compiled with + quotas support. + + This parameter should specify the path to a script that + queries the quota information for the specified + user/group for the partition that + the specified directory is on. + + Such a script is being given 3 arguments: + + + directory + type of query + uid of user or gid of group + + + The directory is actually mostly just "." - It needs to be + treated relatively to the current working directory that the script can + also query. + + The type of query can be one of: + + + 1 - user quotas + 2 - user default quotas (uid = -1) + 3 - group quotas + 4 - group default quotas (gid = -1) + + + This script should print one line as output with spaces between the columns. The printed columns should be: + + + + 1 - quota flags (0 = no quotas, 1 = quotas enabled, 2 = quotas enabled and enforced) + 2 - number of currently used blocks + 3 - the softlimit number of blocks + 4 - the hardlimit number of blocks + 5 - currently used number of inodes + 6 - the softlimit number of inodes + 7 - the hardlimit number of inodes + 8 (optional) - the number of bytes in a block(default is 1024) + + + +set quote command + +/usr/local/sbin/query_quota + -- cgit v1.2.3