HP CIFS Server 3.0d Administrator's Guide version A.02.02 (Edition 5)
Installing and Configuring the HP CIFS Server
Step 4: Starting the HP CIFS Server
Chapter 2 37
Starting and stopping Daemons Individually
Two new options -n (nmbd only) and -s (smbd only) have been added to
startsmb and stopsmb scripts to start and stop the daemons
individually. The startsmb -s command starts the smbd daemon. The
stopsmb -s command stops the smbd daemon. The -n option starts and
stops the nmbd daemon in the same way.
Configuring Automatic Start at System Boot
When the HP CIFS Server is first installed, it will not automatically
start when the system boots. You can enable the
HP CIFS Server and related daemons to do so by editing the
/etc/rc.config.d/samba file.This configuration file contains two
variables:
RUN_SAMBA=0
RUN_WINBIND=0
The RUN_SAMBA variable controls whether HP CIFS Server daemons,
smbd and nmbd, will start at system startup. The RUN_WINBIND variable
controls whether the winbind daemon, winbindd, will start at system
startup. The two variables function independently.
To configure HP CIFS Server to start automatically, set RUN_SAMBA to a
non-zero value. To configure Winbind to start automatically, set
RUN_WINBIND to a non-zero value. For example, if you want HP CIFS
Server and Winbind to start automatically at system startup, edit the
variables in the /etc/rc.config.d/samba file as follows:
RUN_SAMBA=1
RUN_WINBIND=1
Stopping and Re-starting Daemons to Apply New
Settings
The smb.conf configuration file is automatically reloaded every minute
if it changes. You can force a reload by sending a SIGHUP to the CIFS
server. Reloading the configuration file does not affect connections to any
service that is already established.
But, you must stop and re-start the CIFS server daemons to apply the
new setting for the following parameters in smb.conf:
• netbios aliases