HP CIFS Server 3.0k Administrator's Guide version A.02.04

Winbind execution may be controlled without affecting the execution of smbd and nmbd with
the following commands.
Run the following command to start winbind alone:
/opt/samba/bin/startwinbind
Run the following command to stop winbind alone:
/opt/samba/bin/stopwinbind
NOTE: HP does not support the inetd configuration to start the HP CIFS Server.
Starting and stopping Daemons Individually
Two new options -n (nmbd only) and -s (smbd only) have been added to startsmb
andstopsmb scripts to start and stop the daemons individually. The startsmb -scommand
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
interfaces
auth methods
passdb backend
invalid users
valid users
admin users
read list
write list
printer admin
36 Installing and Configuring the HP CIFS Server