I would like the smb and nmb to start on boot.
In the terminal (as root) I did:
/sbin/chkconfig smb --add
or
chkconfig --add samba
chkconfig --add /sbin/smbd
resault is message like below :
error reading information on service smb: No such file or directory
Centos7 uses systemd . Have a look at man systemctl, specifically systemctl enable ... chkconfig is stiil used, but just for a few remaining applications that still use init scripts...
systemd
systemctl enable ...
chkconfig
You only need this command with both services.
systemctl enable smb nmb