HP CIFS Server 2.2i Administrator's Guide version A.01.11.01
Installing and Configuring the HP CIFS Server
Step 4: Starting the HP CIFS Server
Chapter 244
Step 4: Starting the HP CIFS Server
Run the script below to start Samba.
/opt/samba/bin/startsmb
When the command successfully starts Samba, a message is displayed
indicating the specific processes that have been started. When the script
is successful, the exit value is 0. If the script fails, the exit value is 1.
Samba installation and configuration are complete.
To stop the Samba server, run:
/opt/samba/bin/stopsmb
When the script is successful, the exit value is 0. If the script fails, the
exit value is 1.
Automatically Starting the HP CIFS Server
When the HP CIFS Server is installed, by default it will not be
configured to automatically start when the system boots up and stop
when the system shuts down. You can enable this feature by doing the
following:
1. Edit the /etc/rc.config.d/samba file.
2. Change the last line of the file to: RUN_SAMBA=1.
3. Save the file.
If you later decide to disable the automatic start feature, change the last
line back to:
RUN_SAMBA=0