Now that we have configured Samba, we can start using it. If you are upgrading from a previous version, you have to kill the Samba daemon (if it is running). To do this,
[root@machinename samba]killall smbd [root@machinename samba]killall nmbdNow we can start Samba with our new configuration by
[root@machinename samba]/usr/sbin/smbd -D [root@machinename samba]/usr/sbin/nmbd -DIf you want to run Samba from xinetd instead, you can edit /etc/xinetd.conf and add the following lines
service netbios-ns { socket_type = dgram protocol = udp wait = yes user = root group = root server = /usr/sbin/nmbd } service netbios-ssn { socket_type = stream protocol = tcp wait = no user = root group = root server = /usr/sbin/smbd }Now we will test the Samba installation.