Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Samba HowTo Guide
Prev Home Next

Note

If you use the SVR4-style init system, you may like to look at the examples/svr4-startup script to make Samba fit into that system.

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.

Starting Samba for Novell SUSE Linux

Novell SUSE Linux products automatically install all essential Samba components in a default installation. Configure your smb.conf file, then execute the following to start Samba:

root#  rcnmb start
root#  rcsmb start
root#  rcwinbind start

Now execute these commands so that Samba will be started automatically following a system reboot:

root#  chkconfig nmb on
root#  chkconfig smb on
root#  chkconfig winbind on

The Samba services will now be started automatically following a system reboot.

Samba HowTo Guide
Prev Home Next

 
 
  Published under the terms fo the GNU General Public License Design by Interspire