>Как узнать с какими опциями собрана Самба
Исходники удалил? Если нет, тогда простейший вариант :
[alik@ah alik]$ cd /usr/local/src/samba-2.2.7/source/
[alik 18@ah source]$ head config.status
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host ah.lan.spf:
#
# ./configure --with-automount --with-smbmount --with-acl-support --disable-winbind
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.