
### Default settings ###
# SAMBA_CONF="/etc/samba/smb.conf"
# SAMBA_CONF_BACKUP="/etc/samba/smb.conf.gsambad.old"
# SAMBA_PASSWD="/etc/samba/smbpasswd"
# SAMBA_USERMAP="/etc/samba/smbusers"
# KERBEROS_CONF="/etc/krb5.conf"
# SECURE_LOG="/var/log/secure"
# PROC_PATH="/proc"
# MIN_PASS_LEN="6"
# SAMBA_USER="nobody"
# SMBD_BINARY="smbd"
# NMBD_BINARY="nmbd"
# WINBINDD_BINARY="winbindd"
# SMBPASSWD_BINARY="smbpasswd"

### Full paths to the binaries is more secure but not as generic ###
# SMBD_BINARY="/usr/sbin/smbd"
# NMBD_BINARY="/usr/sbin/nmbd"
# WINBINDD_BINARY="/usr/sbin/winbindd"
# SMBPASSWD_BINARY="/usr/bin/smbpasswd"

### Debian commands for starting the server at boot ###
# export SYSINIT_START_CMD="update-rc.d -f samba defaults"
# export SYSINIT_STOP_CMD="update-rc.d -f samba remove"

### RH/Fedora commands for starting the server at boot       ###
### They use a separate 'winbind' script, this is handled in ###
### the start/stop code that appends "chkconfig winbind xyz" ###
export SYSINIT_START_CMD="chkconfig smb on"
export SYSINIT_STOP_CMD="chkconfig smb off"

./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --sbindir=/usr/sbin &&
make &&
make install
