~ubuntu-branches/ubuntu/maverick/samba/maverick-security

« back to all changes in this revision

Viewing changes to docs/htmldocs/manpages/vfstest.1.html

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-01-29 06:16:15 UTC
  • mfrom: (0.27.9 upstream) (0.34.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100129061615-37hs6xqpsdhjq3ld
Tags: 2:3.4.5~dfsg-1ubuntu1
* Merge from debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/smb.conf:
    - Add "(Samba, Ubuntu)" to server string.
    - Comment out the default [homes] share, and add a comment about "valid users = %s"
      to show users how to restrict access to \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are allowed to create
      public shares in additon to authenticated ones.
    - add map to guest = Bad user, maps bad username to gues access.
  + debian/samba-common.conf:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/mksambapasswd.awk:
    - Do not add user with UID less than 1000 to smbpasswd.
  + debian/control: 
    - Make libswbclient0 replace/conflict with hardy's likewise-open.
    - Don't build against ctdb, since its not in main yet.
  + debian/rules:
    - Enable "native" PIE hardening.
    - Add BIND_NOW to maximize benefit of RELRO hardening.
  + Add ufw integration:
    - Created debian/samba.ufw.profile.
    - debian/rules, debian/samba.dirs, debian/samba.files: install
  + Add apoort hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + debian/rules, debian/samba.if-up: allow "NetworkManager" as a recognized address
    family... it's obviously /not/ an address family, but it's what gets
    sent when using NM, so we'll cope for now.  (LP: #462169). Taken from karmic-proposed.
  + debian/control: Recommend keyutils for smbfs (LP: #493565)
  + Dropped patches:
    - debian/patches/security-CVE-2009-3297.patch: No longer needed
    - debian/patches/fix-too-many-open-files.patch: No longer needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>vfstest</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="vfstest.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vfstest &#8212; tool for testing samba VFS modules </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">vfstest</code> [-d debuglevel] [-c command] [-l logdir] [-h]</p></div></div><div class="refsect1" lang="en"><a name="id2522958"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p><code class="literal">vfstest</code> is a small command line
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>vfstest</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="vfstest"><a name="vfstest.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vfstest &#8212; tool for testing samba VFS modules </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">vfstest</code> [-d debuglevel] [-c command] [-l logdir] [-h]</p></div></div><div class="refsect1" title="DESCRIPTION"><a name="id2528926"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p><code class="literal">vfstest</code> is a small command line
2
2
        utility that has the ability to test dso samba VFS modules. It gives the
3
3
        user the ability to call the various VFS functions manually and
4
4
        supports cascaded VFS modules.
5
 
        </p></div><div class="refsect1" lang="en"><a name="id2483360"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-c|--command=command</span></dt><dd><p>Execute the specified (colon-separated) commands.
 
5
        </p></div><div class="refsect1" title="OPTIONS"><a name="id2489323"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-c|--command=command</span></dt><dd><p>Execute the specified (colon-separated) commands.
6
6
                See below for the commands that are available.
7
7
                </p></dd><dt><span class="term">-h|--help</span></dt><dd><p>Print a summary of command line options.
8
8
</p></dd><dt><span class="term">-l|--logfile=logbasename</span></dt><dd><p>File name for log/debug files. The extension
20
20
investigating a problem. Levels above 3 are designed for 
21
21
use only by developers and generate HUGE amounts of log
22
22
data, most of which is extremely cryptic.</p><p>Note that specifying this parameter here will 
23
 
override the <a class="link" href="smb.conf.5.html#LOGLEVEL" target="_top">log level</a> parameter
24
 
in the <code class="filename">smb.conf</code> file.</p></dd><dt><span class="term">-V</span></dt><dd><p>Prints the program version number.
25
 
</p></dd><dt><span class="term">-s &lt;configuration file&gt;</span></dt><dd><p>The file specified contains the 
 
23
override the <a class="link" href="smb.conf.5.html#" target="_top"></a> parameter
 
24
in the <code class="filename">smb.conf</code> file.</p></dd><dt><span class="term">-V|--version</span></dt><dd><p>Prints the program version number.
 
25
</p></dd><dt><span class="term">-s|--configfile &lt;configuration file&gt;</span></dt><dd><p>The file specified contains the 
26
26
configuration details required by the server.  The 
27
27
information in this file includes server-specific
28
28
information such as what printcap file to use, as well 
32
32
compile time.</p></dd><dt><span class="term">-l|--log-basename=logdirectory</span></dt><dd><p>Base directory name for log/debug files. The extension
33
33
<code class="constant">".progname"</code> will be appended (e.g. log.smbclient, 
34
34
log.smbd, etc...). The log file is never removed by the client.
35
 
</p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2483734"></a><h2>COMMANDS</h2><p><span class="emphasis"><em>VFS COMMANDS</em></span></p><div class="itemizedlist"><ul type="disc"><li><p><code class="literal">load &lt;module.so&gt;</code> - Load specified VFS module </p></li><li><p><code class="literal">populate &lt;char&gt; &lt;size&gt;</code> - Populate a data buffer with the specified data
36
 
                </p></li><li><p><code class="literal">showdata [&lt;offset&gt; &lt;len&gt;]</code> - Show data currently in data buffer
37
 
                </p></li><li><p><code class="literal">connect</code> - VFS connect()</p></li><li><p><code class="literal">disconnect</code> - VFS disconnect()</p></li><li><p><code class="literal">disk_free</code> - VFS disk_free()</p></li><li><p><code class="literal">opendir</code> - VFS opendir()</p></li><li><p><code class="literal">readdir</code> - VFS readdir()</p></li><li><p><code class="literal">mkdir</code> - VFS mkdir()</p></li><li><p><code class="literal">rmdir</code> - VFS rmdir()</p></li><li><p><code class="literal">closedir</code> - VFS closedir()</p></li><li><p><code class="literal">open</code> - VFS open()</p></li><li><p><code class="literal">close</code> - VFS close()</p></li><li><p><code class="literal">read</code> - VFS read()</p></li><li><p><code class="literal">write</code> - VFS write()</p></li><li><p><code class="literal">lseek</code> - VFS lseek()</p></li><li><p><code class="literal">rename</code> - VFS rename()</p></li><li><p><code class="literal">fsync</code> - VFS fsync()</p></li><li><p><code class="literal">stat</code> - VFS stat()</p></li><li><p><code class="literal">fstat</code> - VFS fstat()</p></li><li><p><code class="literal">lstat</code> - VFS lstat()</p></li><li><p><code class="literal">unlink</code> - VFS unlink()</p></li><li><p><code class="literal">chmod</code> - VFS chmod()</p></li><li><p><code class="literal">fchmod</code> - VFS fchmod()</p></li><li><p><code class="literal">chown</code> - VFS chown()</p></li><li><p><code class="literal">fchown</code> - VFS fchown()</p></li><li><p><code class="literal">chdir</code> - VFS chdir()</p></li><li><p><code class="literal">getwd</code> - VFS getwd()</p></li><li><p><code class="literal">utime</code> - VFS utime()</p></li><li><p><code class="literal">ftruncate</code> - VFS ftruncate()</p></li><li><p><code class="literal">lock</code> - VFS lock()</p></li><li><p><code class="literal">symlink</code> - VFS symlink()</p></li><li><p><code class="literal">readlink</code> - VFS readlink()</p></li><li><p><code class="literal">link</code> - VFS link()</p></li><li><p><code class="literal">mknod</code> - VFS mknod()</p></li><li><p><code class="literal">realpath</code> - VFS realpath()</p></li></ul></div><p><span class="emphasis"><em>GENERAL COMMANDS</em></span></p><div class="itemizedlist"><ul type="disc"><li><p><code class="literal">conf &lt;smb.conf&gt;</code> - Load a different configuration file</p></li><li><p><code class="literal">help [&lt;command&gt;]</code> - Get list of commands or info about specified command</p></li><li><p><code class="literal">debuglevel &lt;level&gt;</code> - Set debug level</p></li><li><p><code class="literal">freemem</code> - Free memory currently in use</p></li><li><p><code class="literal">exit</code> - Exit vfstest</p></li></ul></div></div><div class="refsect1" lang="en"><a name="id2481816"></a><h2>VERSION</h2><p>This man page is correct for version 3 of the Samba
38
 
        suite.</p></div><div class="refsect1" lang="en"><a name="id2481827"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities
 
35
</p></dd></dl></div></div><div class="refsect1" title="COMMANDS"><a name="id2489704"></a><h2>COMMANDS</h2><p><span class="emphasis"><em>VFS COMMANDS</em></span></p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="literal">load &lt;module.so&gt;</code> - Load specified VFS module </p></li><li class="listitem"><p><code class="literal">populate &lt;char&gt; &lt;size&gt;</code> - Populate a data buffer with the specified data
 
36
                </p></li><li class="listitem"><p><code class="literal">showdata [&lt;offset&gt; &lt;len&gt;]</code> - Show data currently in data buffer
 
37
                </p></li><li class="listitem"><p><code class="literal">connect</code> - VFS connect()</p></li><li class="listitem"><p><code class="literal">disconnect</code> - VFS disconnect()</p></li><li class="listitem"><p><code class="literal">disk_free</code> - VFS disk_free()</p></li><li class="listitem"><p><code class="literal">opendir</code> - VFS opendir()</p></li><li class="listitem"><p><code class="literal">readdir</code> - VFS readdir()</p></li><li class="listitem"><p><code class="literal">mkdir</code> - VFS mkdir()</p></li><li class="listitem"><p><code class="literal">rmdir</code> - VFS rmdir()</p></li><li class="listitem"><p><code class="literal">closedir</code> - VFS closedir()</p></li><li class="listitem"><p><code class="literal">open</code> - VFS open()</p></li><li class="listitem"><p><code class="literal">close</code> - VFS close()</p></li><li class="listitem"><p><code class="literal">read</code> - VFS read()</p></li><li class="listitem"><p><code class="literal">write</code> - VFS write()</p></li><li class="listitem"><p><code class="literal">lseek</code> - VFS lseek()</p></li><li class="listitem"><p><code class="literal">rename</code> - VFS rename()</p></li><li class="listitem"><p><code class="literal">fsync</code> - VFS fsync()</p></li><li class="listitem"><p><code class="literal">stat</code> - VFS stat()</p></li><li class="listitem"><p><code class="literal">fstat</code> - VFS fstat()</p></li><li class="listitem"><p><code class="literal">lstat</code> - VFS lstat()</p></li><li class="listitem"><p><code class="literal">unlink</code> - VFS unlink()</p></li><li class="listitem"><p><code class="literal">chmod</code> - VFS chmod()</p></li><li class="listitem"><p><code class="literal">fchmod</code> - VFS fchmod()</p></li><li class="listitem"><p><code class="literal">chown</code> - VFS chown()</p></li><li class="listitem"><p><code class="literal">fchown</code> - VFS fchown()</p></li><li class="listitem"><p><code class="literal">chdir</code> - VFS chdir()</p></li><li class="listitem"><p><code class="literal">getwd</code> - VFS getwd()</p></li><li class="listitem"><p><code class="literal">utime</code> - VFS utime()</p></li><li class="listitem"><p><code class="literal">ftruncate</code> - VFS ftruncate()</p></li><li class="listitem"><p><code class="literal">lock</code> - VFS lock()</p></li><li class="listitem"><p><code class="literal">symlink</code> - VFS symlink()</p></li><li class="listitem"><p><code class="literal">readlink</code> - VFS readlink()</p></li><li class="listitem"><p><code class="literal">link</code> - VFS link()</p></li><li class="listitem"><p><code class="literal">mknod</code> - VFS mknod()</p></li><li class="listitem"><p><code class="literal">realpath</code> - VFS realpath()</p></li></ul></div><p><span class="emphasis"><em>GENERAL COMMANDS</em></span></p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="literal">conf &lt;smb.conf&gt;</code> - Load a different configuration file</p></li><li class="listitem"><p><code class="literal">help [&lt;command&gt;]</code> - Get list of commands or info about specified command</p></li><li class="listitem"><p><code class="literal">debuglevel &lt;level&gt;</code> - Set debug level</p></li><li class="listitem"><p><code class="literal">freemem</code> - Free memory currently in use</p></li><li class="listitem"><p><code class="literal">exit</code> - Exit vfstest</p></li></ul></div></div><div class="refsect1" title="VERSION"><a name="id2487782"></a><h2>VERSION</h2><p>This man page is correct for version 3 of the Samba
 
38
        suite.</p></div><div class="refsect1" title="AUTHOR"><a name="id2487793"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities
39
39
        were created by Andrew Tridgell. Samba is now developed
40
40
        by the Samba Team as an Open Source project similar
41
41
        to the way the Linux kernel is developed.</p><p>The vfstest man page was written by Jelmer Vernooij.</p></div></div></body></html>