diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-02-03 15:06:48 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-02-09 01:58:24 +0100 |
commit | 4328f3ccf37d9a1baadbc55f658902e3b16ff125 (patch) | |
tree | 203f4238cd13e283b423ee97df6ce2714298fd7f /docs-xml | |
parent | b93326b9689d0ad935eed35f7cf5201ad04ac1ff (diff) | |
download | samba-4328f3ccf37d9a1baadbc55f658902e3b16ff125.tar.gz samba-4328f3ccf37d9a1baadbc55f658902e3b16ff125.tar.bz2 samba-4328f3ccf37d9a1baadbc55f658902e3b16ff125.zip |
smbwrapper: Remove smbwrapper
There are now many better ways to access a remote SMB filesystem,
which do not rely on LD_PRELOAD and the associated dangers. FUSE,
gvfs and the CIFS VFS are all much better options which do not require
knowing every possible libc entry point that can deal with a file
descriptor.
As an example of the maintainence that would be required to keep this
going, recent changes to deal with thread races and close-on-exec have
resulted in dup3(), but this isn't currently mapped. While this would
not be hard to add, it illistrates why it is better to move to an
interface designed for this task.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Feb 9 01:58:24 CET 2012 on sn-devel-104
Diffstat (limited to 'docs-xml')
-rw-r--r-- | docs-xml/using_samba/appd.xml | 8 | ||||
-rw-r--r-- | docs-xml/using_samba/ch01.xml | 11 | ||||
-rw-r--r-- | docs-xml/using_samba/ch02.xml | 8 |
3 files changed, 0 insertions, 27 deletions
diff --git a/docs-xml/using_samba/appd.xml b/docs-xml/using_samba/appd.xml index 05a7dfae22..a3a23f850c 100644 --- a/docs-xml/using_samba/appd.xml +++ b/docs-xml/using_samba/appd.xml @@ -291,14 +291,6 @@ exit</programlisting> -<sect2 role="" label="D.1.4" id="appd-SECT-1.4"> -<title>smbsh</title> - - -<para>The <emphasis>smbsh</emphasis> -<indexterm id="appd-idx-993744-0"><primary>smbsh program</primary></indexterm> program lets you use a remote Windows share on your Samba server as if the share was a regular Unix directory. When it's run, it provides an extra directory tree under <filename>/smb</filename>. Subdirectories of <filename>/smb</filename> are servers, and subdirectories of the servers are their individual disk and printer shares. Commands run by <emphasis>smbsh</emphasis> treat the <filename>/smb</filename> filesystem as if it were local to Unix. This means that you don't need <emphasis>smbmount</emphasis> in your kernel to mount Windows filesystems the way you mount with NFS filesystems. However, you do need to configure Samba with the <literal>--with-smbwrappers</literal> option to enable <filename>smbsh</filename>.</para> - - <sect3 role="" label="D.1.4.1" id="appd-SECT-1.4.1"> <title>Options</title> diff --git a/docs-xml/using_samba/ch01.xml b/docs-xml/using_samba/ch01.xml index d44e41bbb2..ca8bc131ad 100644 --- a/docs-xml/using_samba/ch01.xml +++ b/docs-xml/using_samba/ch01.xml @@ -1516,17 +1516,6 @@ SIMPLE <1E> GROUP Registered -<sect2 role="" label="1.7.6" id="ch01-SECT-7.6"> -<title>Smbwrapper</title> - - -<para>Finally, there is an entirely new version of the Unix client called <firstterm>smbwrapper</firstterm> -<indexterm id="ch01-idx-951955-0"><primary>smbwrapper client</primary></indexterm>. Instead of a kernel module that allows Linux to act as a Samba client, there is now a command-line entry to load the library that provides a complete SMB filesystem on some brands of Unix. Once loaded, the command <literal>ls</literal> <literal>/smb</literal> will list all the machines in your workgroup, and <literal>cd</literal> <literal>/smb/</literal><replaceable>server_name</replaceable><literal>/</literal><replaceable>share_name</replaceable> will take you to a particular <indexterm id="ch01-idx-951956-0"><primary>shares</primary></indexterm> -<indexterm id="ch01-idx-951956-1"><primary>shared directory/resources</primary><see>shares</see></indexterm>share (shared directory), similar to the <indexterm id="ch01-idx-951957-0"><primary>Network File System (NFS)</primary></indexterm> -<indexterm id="ch01-idx-951957-1"><primary>NFS (Network File System)</primary></indexterm>Network File System (NFS). As of this writing, <emphasis>smbwrapper</emphasis> currently runs on Linux, Solaris, SunOS 4, IRIX, and OSF/1, and is expected to run on several more operating systems in the near future.</para> -</sect2> -</sect1> - diff --git a/docs-xml/using_samba/ch02.xml b/docs-xml/using_samba/ch02.xml index ad4b51c0dd..e632a42d23 100644 --- a/docs-xml/using_samba/ch02.xml +++ b/docs-xml/using_samba/ch02.xml @@ -235,14 +235,6 @@ docs/textdocs/UNIX_INSTALL.txt</programlisting> <indexterm id="ch02-idx-947349-1"><primary>disabling/enabling features</primary></indexterm>Each of these options enable or disable various features. You typically enable a feature by specifying the <literal>--with-</literal><replaceable>feature</replaceable> option, which will cause the feature to be compiled and installed. Likewise, if you specify a <literal>--without-</literal><replaceable>feature</replaceable> option, the feature will be disabled. As of Samba 2.0.5, each of the following features is disabled by default:</para> -<variablelist> -<varlistentry><term><literal>--with-smbwrapper</literal></term> -<listitem><para>Include SMB <indexterm id="ch02-idx-947350-0"><primary>SMB (Server Message Block)</primary><secondary>wrapper support</secondary></indexterm> -<indexterm id="ch02-idx-947350-1"><primary>wrapper support for SMB (Server Message Block)</primary></indexterm>wrapper support, which allows executables on the Unix side to access <indexterm id="ch02-idx-947351-0"><primary>SMB/CIFS protocol</primary><secondary>filesystems</secondary></indexterm>SMB/CIFS filesystems as if they were regular Unix filesystems. We recommend using this option. However, at this time this book went to press, there were several incompatibilities between the <filename>smbwrapper</filename> -<indexterm id="ch02-idx-947352-0"><primary>smbwrapper package</primary></indexterm> package and the GNU <filename>libc</filename> version 2.1, and it would not compile on Red Hat 6.0. Look for more information on these incompatibilities on the Samba home page.</para></listitem> -</varlistentry> - - <varlistentry><term><literal>--with-afs</literal></term> <listitem><para>Include support of the <indexterm id="ch02-idx-947353-0"><primary>Andrew Filesystem</primary><see>AFS files</see></indexterm>Andrew Filesystem from <indexterm id="ch02-idx-947354-0"><primary>Carnegie Mellon University</primary></indexterm>Carnegie Mellon University. If you're going to serve <indexterm id="ch02-idx-947355-0"><primary>AFS files, support for</primary></indexterm>AFS files via Samba, we recommend compiling Samba once first without enabling this feature to ensure that everything runs smoothly. Once that version is working smoothly, recompile Samba with this feature enabled and compare any errors you might receive against the previous setup.</para></listitem> </varlistentry> |