Newbie Dave
09-23-2002, 06:54 PM
is it better to run samba through xinetd or thru a daemon? what do you add to xinetd for samba?
|
Click to See Complete Forum and Search --> : xinetd and samba Newbie Dave 09-23-2002, 06:54 PM is it better to run samba through xinetd or thru a daemon? what do you add to xinetd for samba? vttimwhite 09-23-2002, 07:24 PM I think the general consensus is to run samba as a daemon. Daemons typically have a faster reaction time than xinetd functions. I've never done it through xinetd, but I suspect it would work like any other functions. go to the /etc/xinetd.d directory, copy one of the existing files, and then edit it to start samba. It should look something like this: service smbd { socket_type = stream protocol = tcp wait = no user = root server = /usr/sbin/smbd } service nmbd { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/nmbd } you have to start both smbd and nmbd for samba to work properly. Hope this helps. Newbie Dave 09-23-2002, 07:45 PM ive been running it through a daemon script 'startsmb', but ive heard other people talk about commands such as 'smb restart' and smb start' etc. those dont work for me even when im commanding from the etc/init.d prompt. que paso? vttimwhite 09-23-2002, 07:56 PM Try: service smb startYou can substitute stop, restart, or status for the word "start". Newbie Dave 09-23-2002, 08:01 PM it tells me 'unrecognized service'. but smbclient works so samba is running. vttimwhite 09-23-2002, 08:48 PM Originally posted by Newbie Dave it tells me 'unrecognized service'. but smbclient works so samba is running. Hmmm. I'm not quite sure what that means. Is samba working for you? justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |