Installation of Samba
Install Samba by running the following
commands:
cd source &&
install -d /var/cache/samba &&
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-piddir=/var/run \
--with-fhs \
--with-smbmount &&
make &&
make install &&
install -m755 nsswitch/libnss_win{s,bind}.so /lib &&
ln -sf libnss_winbind.so /lib/libnss_winbind.so.2 &&
ln -sf libnss_wins.so /lib/libnss_wins.so.2
Note: You may want to run configure with the
--help parameter. There may be other parameters
needed to take advantage of the optional dependencies.