Configuring Samba
The source distribution of Samba 2.0 and above doesn’t initially have a makefile. Instead, one is generated through a GNU configure
script, which is located in the samba-2.0.x /source/ directory. The configure script, which must be run as root, takes care of the machine-specific issues of building Samba. However, you still may want to decide on some global options. Global options can be set by passing options on the command-line:
# ./configure --with-ssl
For example, this will configure the Samba makefile with support for the Secure Sockets Layer (SSL) encryption protocol. If you would like a complete list of options, type the following:
#./configure --help
Each 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 wrapper support, which allows executables on the Unix side to access 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
smbwrapperpackage and the GNUlibcversion 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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access