From 4328f3ccf37d9a1baadbc55f658902e3b16ff125 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 3 Feb 2012 15:06:48 +1100 Subject: 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 Autobuild-Date: Thu Feb 9 01:58:24 CET 2012 on sn-devel-104 --- docs-xml/using_samba/appd.xml | 8 -------- docs-xml/using_samba/ch01.xml | 11 ----------- docs-xml/using_samba/ch02.xml | 8 -------- 3 files changed, 27 deletions(-) (limited to 'docs-xml/using_samba') 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 - -smbsh - - -The smbsh -smbsh program 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 /smb. Subdirectories of /smb are servers, and subdirectories of the servers are their individual disk and printer shares. Commands run by smbsh treat the /smb filesystem as if it were local to Unix. This means that you don't need smbmount in your kernel to mount Windows filesystems the way you mount with NFS filesystems. However, you do need to configure Samba with the --with-smbwrappers option to enable smbsh. - - Options 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 - -Smbwrapper - - -Finally, there is an entirely new version of the Unix client called smbwrapper -smbwrapper client. 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 ls /smb will list all the machines in your workgroup, and cd /smb/server_name/share_name will take you to a particular shares -shared directory/resourcessharesshare (shared directory), similar to the Network File System (NFS) -NFS (Network File System)Network File System (NFS). As of this writing, smbwrapper 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. - - - 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 disabling/enabling featuresEach of these options enable or disable various features. You typically enable a feature by specifying the --with-feature option, which will cause the feature to be compiled and installed. Likewise, if you specify a --without-feature option, the feature will be disabled. As of Samba 2.0.5, each of the following features is disabled by default: - ---with-smbwrapper -Include SMB SMB (Server Message Block)wrapper support -wrapper support for SMB (Server Message Block)wrapper support, which allows executables on the Unix side to access SMB/CIFS protocolfilesystemsSMB/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 smbwrapper -smbwrapper package package and the GNU libc 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. - - - --with-afs Include support of the Andrew FilesystemAFS filesAndrew Filesystem from Carnegie Mellon UniversityCarnegie Mellon University. If you're going to serve AFS files, support forAFS 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. -- cgit