[prev in list] [next in list] [prev in thread] [next in thread] 

List:       proftpd-committers
Subject:    [ProFTPD-committers] CVS: proftpd/doc/howto Quotas.html,1.3,1.4
From:       TJ Saunders <castaglia () users ! sourceforge ! net>
Date:       2007-06-18 21:45:49
Message-ID: E1I0P2j-0008GG-9E () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/proftp/proftpd/doc/howto
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31742/doc/howto

Modified Files:
	Quotas.html 
Log Message:

Add a FAQ about group quota determination.


Index: Quotas.html
===================================================================
RCS file: /cvsroot/proftp/proftpd/doc/howto/Quotas.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Quotas.html	26 May 2007 00:26:12 -0000	1.3
+++ Quotas.html	18 Jun 2007 21:45:47 -0000	1.4
@@ -261,6 +261,31 @@
 <code>mod_quotatab_sql</code> module has not been compiled/loaded into
 <code>proftpd</code>.
 
+<p><a name="QuotasGroupQuotas" title="#QuotasGroupQuotas"></a>
+<font color=red>Question</font>: How do group quotas work?  If a user is in multiple \
groups, what happens?<br> +<font color=blue>Answer</font>: The \
<code>mod_quotatab</code> module searches +for applicable quotas, by type, in the \
following order: +<ul>
+  <li>user quotas
+  <li>group quotas
+  <li>class quotas
+  <li>the "all" quota
+</ul>
+Thus if there is a user-specific quota, it will be used; the search stops there.
+The <code>mod_quotatab</code> module does <b>not</b> combine multiple different
+quotas.
+
+<p>
+What happens, then, if a user belongs to multiple different groups, and there
+are different quotas set for those different groups?  First, the <i>primary</i>
+group of the user is checked; this is the group that is included, for example,
+in the entry for the user in the <code>/etc/passwd</code> file.  If no quota
+for the primary group is found, the module then checks against each of
+the user's <i>supplemental</i> groups.  The order in which these groups
+are checked is dependent up on the order in which the groups are returned
+from the auth module providing them, <i>e.g.</i> <code>mod_sql</code>,
+<code>mod_ldap</code>, or perhaps <code>mod_auth_unix</code>.
+
 <p>
 <hr>
 <i>$Date$</i><br>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ProFTPD Committers Mailing List
proftpd-committers@proftpd.org
https://lists.sourceforge.net/lists/listinfo/proftp-committers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic