Google Site SearchFN Site Search FN Blog Login FN Blog Login
Site Navigation:
 
 

Samba on Fedora Core 1 - Part 3: Using Samba

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 nmbd
Now we can start Samba with our new configuration by
[root@machinename samba]/usr/sbin/smbd -D
[root@machinename samba]/usr/sbin/nmbd -D
If 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.