Starting Samba for Red Hat Linux
Red Hat Linux has not always included all Samba components in the standard installation.
So versions of Red Hat Linux do not install the winbind utility, even though it is present
on the installation CDROM media. Check to see if the
winbindd
is present
on the system:
root#
ls /usr/sbin/winbindd
/usr/sbin/winbindd
This means that the appropriate RPM package was installed. The following response means
that it is not installed:
/bin/ls: /usr/sbin/winbind: No such file or directory
In this case, it should be installed if you intend to use
winbindd
. Search
the CDROM installation media for the samba-winbind RPM and install it following Red Hat
guidelines.
The process for starting Samba will now be outlined. Be sure to configure Samba's smb.conf
file before starting Samba. When configured, start Samba by executing:
root#
service smb start
root#
service winbind start
These steps will start nmbd, smbd and winbindd.
To ensure that these services will be automatically restarted when the system is rebooted
execute:
root#
chkconfig smb on
root#
chkconfig winbind on
Samba will be started automatically at every system reboot.