From c698e4f5ea64315b4af685418c698f962d407761 Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Fri, 9 Sep 2005 05:49:26 +0000 Subject: Adding documentation for vfs_default_quotas module. (This used to be commit 13c650f418807b9eeeaa8e205d164a1f95de789f) --- docs/Samba3-HOWTO/TOSHARG-VFS.xml | 94 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) (limited to 'docs') diff --git a/docs/Samba3-HOWTO/TOSHARG-VFS.xml b/docs/Samba3-HOWTO/TOSHARG-VFS.xml index 02bf851c63..575bd98e3b 100644 --- a/docs/Samba3-HOWTO/TOSHARG-VFS.xml +++ b/docs/Samba3-HOWTO/TOSHARG-VFS.xml @@ -123,6 +123,100 @@ shown in the smb.conf with multiple VFS modules + + default_quota + + + This module allows the default quota values, in the windows explorer GUI, to be stored on a Samba-3 server. + The challenge is that linux filesystems only store quotas for users and groups, but no default quotas. + + + + Samba returns NO_LIMIT as the default quotas by default and refuses to update them. With this module you + can store the default quotas that are reported to a windows client, in the quota record of a user. By + default the root user is taken because quota limits for root are typically not enforced. + + + + This module takes 2 parametric entries in the &mb.conf; file. The default prefix for each is the + default_quota. This can be overwrittem when you load the module in the vfs + modules parameter like this: + +vfs modules = default_quota:myprefix) + + + + + The parametric entries that may be specified for the default_quotas module are: + + + + + prefix:uid + + This parameter takes a integer argument that specifies the uid of the quota record that will be + used for storing the default user quotas. + + + + The default value is 0 (for root user). An example of use is: + +default_quota:uid = 65534 + + + + + + prefix:uid nolimit + + This parameter takes a boolean argument that specifies if the stored default quota values also be + reported for the user record, or if the value NO_LIMIT should be reported to + the windows client for the user specified by the prefix:uid parameter. + + + + The default value is yes (which means to report NO_LIMIT). An example of use + is shown here: + +default_quota:uid nolimit = no + + + + + + prefix>:gid + + This parameter takes an integer argument, it's just like the prefix>:uid but + for group quotas. NOTE: group quotas are not supported from the windows explorer. + + + + The default value is 0 (for root group). An example of use is shown here: + +default_quota:gid = 65534 + + + + + + prefix>:gid nolimit + + This parameter takes a boolean argument, just like the prefix>:uid nolimit + but for group quotas. NOTE: group quotas are not supported from the windows explorer. + + + + The default value is yes (which means to report NO_LIMIT). An example of use + is shown here: + +default_quota:uid nolimit = no + + + + + + + extd_audit -- cgit