<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=smb.conf%2Fmanpage%2F2006%2Fparameters%2FG</id>
	<title>smb.conf/manpage/2006/parameters/G - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=smb.conf%2Fmanpage%2F2006%2Fparameters%2FG"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=smb.conf/manpage/2006/parameters/G&amp;action=history"/>
	<updated>2026-06-25T19:17:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=smb.conf/manpage/2006/parameters/G&amp;diff=14075&amp;oldid=prev</id>
		<title>Woozle: splitting into subpages</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=smb.conf/manpage/2006/parameters/G&amp;diff=14075&amp;oldid=prev"/>
		<updated>2010-09-05T14:41:02Z</updated>

		<summary type="html">&lt;p&gt;splitting into subpages&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==get quota command==&lt;br /&gt;
       get quota command (G)&lt;br /&gt;
              The  g�ge�et�t  q�qu�uo�ot�ta�a c�co�om�mm�ma�an�nd�d should only be used whenever there is no&lt;br /&gt;
              operating system API available from the OS that samba can use.&lt;br /&gt;
&lt;br /&gt;
              This option is only available with  .�./�/c�co�on�nf�fi�ig�gu�ur�re�e  -�--�-w�wi�it�th�h-�-s�sy�ys�s-�-q�qu�uo�o-�-&lt;br /&gt;
              t�ta�as�s.  Or  on linux when .�./�/c�co�on�nf�fi�ig�gu�ur�re�e -�--�-w�wi�it�th�h-�-q�qu�uo�ot�ta�as�s was used and a&lt;br /&gt;
              working quota api was found in the system.&lt;br /&gt;
&lt;br /&gt;
              This parameter should specify the path to a script that  queries&lt;br /&gt;
              the  quota information for the specified user/group for the par-&lt;br /&gt;
              tition that the specified directory is on.&lt;br /&gt;
&lt;br /&gt;
              Such a script should take 3 arguments:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
              ·  directory&lt;br /&gt;
&lt;br /&gt;
              ·  type of query&lt;br /&gt;
&lt;br /&gt;
              ·  uid of user or gid of group&lt;br /&gt;
&lt;br /&gt;
       The type of query can be one of :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
              ·  1 - user quotas&lt;br /&gt;
&lt;br /&gt;
              ·  2 - user default quotas (uid = -1)&lt;br /&gt;
&lt;br /&gt;
              ·  3 - group quotas&lt;br /&gt;
&lt;br /&gt;
              ·  4 - group default quotas (gid = -1)&lt;br /&gt;
&lt;br /&gt;
       This script should print one line as output  with  spaces  between  the&lt;br /&gt;
       arguments. The arguments are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
              ·  Arg  1  - quota flags (0 = no quotas, 1 = quotas enabled, 2 =&lt;br /&gt;
                 quotas enabled and enforced)&lt;br /&gt;
&lt;br /&gt;
              ·  Arg 2 - number of currently used blocks&lt;br /&gt;
&lt;br /&gt;
              ·  Arg 3 - the softlimit number of blocks&lt;br /&gt;
&lt;br /&gt;
              ·  Arg 4 - the hardlimit number of blocks&lt;br /&gt;
&lt;br /&gt;
              ·  Arg 5 - currently used number of inodes&lt;br /&gt;
&lt;br /&gt;
              ·  Arg 6 - the softlimit number of inodes&lt;br /&gt;
&lt;br /&gt;
              ·  Arg 7 - the hardlimit number of inodes&lt;br /&gt;
&lt;br /&gt;
              ·  Arg 8(optional) - the number of bytes in a  block(default  is&lt;br /&gt;
                 1024)&lt;br /&gt;
&lt;br /&gt;
       Default: _�g_�e_�t _�q_�u_�o_�t_�a _�c_�o_�m_�m_�a_�n_�d =&lt;br /&gt;
&lt;br /&gt;
       Example: _�g_�e_�t _�q_�u_�o_�t_�a _�c_�o_�m_�m_�a_�n_�d = /usr/local/sbin/query_quota&lt;br /&gt;
&lt;br /&gt;
==getwd cache==&lt;br /&gt;
       getwd cache (G)&lt;br /&gt;
              This  is  a  tuning option. When this is enabled a caching algo-&lt;br /&gt;
              rithm will be used to reduce the time taken for  getwd()  calls.&lt;br /&gt;
              This  can  have  a significant impact on performance, especially&lt;br /&gt;
              when the _�w_�i_�d_�e _�l_�i_�n_�k_�s parameter is set to n�no�o.&lt;br /&gt;
&lt;br /&gt;
              Default: _�g_�e_�t_�w_�d _�c_�a_�c_�h_�e = yes&lt;br /&gt;
&lt;br /&gt;
==guest account==&lt;br /&gt;
       guest account (G)&lt;br /&gt;
              This is a username which will be used  for  access  to  services&lt;br /&gt;
              which  are  specified  as  _�g_�u_�e_�s_�t _�o_�k (see below). Whatever privi-&lt;br /&gt;
              leges this user has will be available to any  client  connecting&lt;br /&gt;
              to the guest service. This user must exist in the password file,&lt;br /&gt;
              but does not require a valid login. The user  account  &amp;quot;ftp&amp;quot;  is&lt;br /&gt;
              often a good choice for this parameter.&lt;br /&gt;
&lt;br /&gt;
              On  some  systems  the default guest account &amp;quot;nobody&amp;quot; may not be&lt;br /&gt;
              able to print. Use another account in this case. You should test&lt;br /&gt;
              this  by  trying  to log in as your guest user (perhaps by using&lt;br /&gt;
              the s�su�u -�- command) and trying to print  using  the  system  print&lt;br /&gt;
              command such as l�lp�pr�r(�(1�1)�) or  l�lp�p(�(1�1)�).&lt;br /&gt;
&lt;br /&gt;
              This  parameter  does not accept % macros, because many parts of&lt;br /&gt;
              the system require this value to be constant for correct  opera-&lt;br /&gt;
              tion.&lt;br /&gt;
&lt;br /&gt;
              Default: _�g_�u_�e_�s_�t _�a_�c_�c_�o_�u_�n_�t = nobody # default can be changed at com-&lt;br /&gt;
              pile-time&lt;br /&gt;
&lt;br /&gt;
              Example: _�g_�u_�e_�s_�t _�a_�c_�c_�o_�u_�n_�t = ftp&lt;br /&gt;
&lt;br /&gt;
==guest ok==&lt;br /&gt;
       public This parameter is a synonym for guest ok.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
       guest ok (S)&lt;br /&gt;
              If this parameter is y�ye�es�s for a  service,  then  no  password  is&lt;br /&gt;
              required  to connect to the service. Privileges will be those of&lt;br /&gt;
              the  _�g_�u_�e_�s_�t _�a_�c_�c_�o_�u_�n_�t.&lt;br /&gt;
&lt;br /&gt;
              This paramater nullifies the benifits of setting _�r_�e_�s_�t_�r_�i_�c_�t _�a_�n_�o_�n_�y_�-&lt;br /&gt;
              _�m_�o_�u_�s = 2&lt;br /&gt;
&lt;br /&gt;
              See  the  section  below on  _�s_�e_�c_�u_�r_�i_�t_�y for more information about&lt;br /&gt;
              this option.&lt;br /&gt;
&lt;br /&gt;
              Default: _�g_�u_�e_�s_�t _�o_�k = no&lt;br /&gt;
&lt;br /&gt;
==guest only==&lt;br /&gt;
       only guest&lt;br /&gt;
              This parameter is a synonym for guest only.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
       guest only (S)&lt;br /&gt;
              If this parameter is y�ye�es�s for a service, then only guest  connec-&lt;br /&gt;
              tions  to the service are permitted. This parameter will have no&lt;br /&gt;
              effect if _�g_�u_�e_�s_�t _�o_�k is not set for the service.&lt;br /&gt;
&lt;br /&gt;
              See the section below on  _�s_�e_�c_�u_�r_�i_�t_�y for  more  information  about&lt;br /&gt;
              this option.&lt;br /&gt;
&lt;br /&gt;
              Default: _�g_�u_�e_�s_�t _�o_�n_�l_�y = no&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>