Build-time configuration options

From SambaWiki

Jump to: navigation, search

This page documents the options that can be passed to the Samba3 configure script.

Contents

--with-fhs

   Use FHS-compliant paths (default=no)

--with-privatedir=DIR

   Where to put smbpasswd ($ac_default_prefix/private)

--with-rootsbindir=DIR

   Which directory to use for root sbin ($ac_default_prefix/sbin)

--with-lockdir=DIR

   Where to put lock files ($ac_default_prefix/var/locks)

--with-piddir=DIR

   Where to put pid files ($ac_default_prefix/var/locks)

--with-swatdir=DIR

   Where to put SWAT files ($ac_default_prefix/swat)

--with-configdir=DIR

   Where to put configuration files ($libdir)

--with-logfilebase=DIR

   Where to put log files ($VARDIR)

--with-libdir=DIR

   Where to put libdir ($libdir)

--with-mandir=DIR

   Where to put man pages ($mandir)

--with-cfenc=HEADERDIR

   Use internal CoreFoundation encoding API for optimization (Mac OS
   X/Darwin only)

--with-readline=DIR

   Look for readline include/libs in DIR (default=auto)

--with-libiconv=BASEDIR

   Use libiconv in BASEDIR/lib and BASEDIR/include (default=auto)

--with-smbwrapper

   Include SMB wrapper support (default=no)

--with-afs

   Include AFS clear-text auth support (default=no)

--with-fake-kaserver

   Include AFS fake-kaserver support (default=no)

--with-vfs-afsacl

   Include AFS to NT ACL mapping module (default=no)

--with-dce-dfs

   Include DCE/DFS clear-text auth support (default=no)

--with-ldap

   LDAP support (default yes)

--with-ads

   Active Directory support (default auto)

--with-krb5=base-dir

   Locate Kerberos 5 support (default=/usr)

--with-automount

   Include automount support (default=no)

--with-smbmount

   Include smbmount (Linux only) support (default=no)

--with-cifsmount

   Include mount.cifs and umount.cifs (Linux only) support (default=yes)

--with-pam

   Include PAM support (default=no)

--with-pam_smbpass

   Build PAM module for authenticating against passdb backends (default=no)

--with-ldapsam

   Include LDAP SAM 2.2 compatible configuration (default=no)

--with-nisplus-home

   Include NISPLUS_HOME support (default=no)

--with-syslog

   Include experimental SYSLOG support (default=no)

--with-profiling-data

   Include gathering source code profile information (default=no)

--with-quotas

   Include disk-quota support (default=no)

--with-sys-quotas

   Include lib/sysquotas.c support (default=auto)

--with-utmp

   Include utmp accounting (default, if supported by OS)

--with-libmsrpc

   Build the libmsrpc shared library (default=yes if shared libs supported)

--with-libsmbclient

   Build the libsmbclient shared library (default=yes if shared libs supported)

--with-libsmbsharemode

   Build the libsmbsharemodes shared library (default=yes if shared
   libs supported)

--with-spinlocks

   Use spin locks instead of fcntl locks (default=no)

--with-acl-support

   Include ACL support (default=no)

--with-aio-support

   Include asynchronous io support (default=no)

--with-sendfile-support

   Check for sendfile support (default=yes)

--with-winbind

   Build winbind (default, if supported by OS)

--with-included-popt

   Use bundled popt library instead of the system one.

--with-python=PYTHONNAME

   Build Python libraries.

--with-static-modules=MODULES

   Comma-separated list of names of modules to statically link in

--with-shared-modules=MODULES

   Comma-separated list of names of modules to build shared
Personal tools