Re: Network Recognition Strangeness - Newbie Setup
"Giovanni" <lsodgf0@home.net.it> wrote in message
news:42A9335C.40901@home.net.it...
> On 06/09/05 20:26, Jim Stanley wrote:
>> Lew,
>>
>> Thanks for the newsgroup tip. I've got it up and working, and managed to
>> get Samba working so the other (Windows) machines can see it.
>>
>> Offhand, do you know how to get Samba starting automatically on bootup?
>>
>> Thanks again,
>>
>> Jim Stanley
>
>
> Put these lines in your /etc/inetd.conf file:
>
> ## These are to start Samba, an smb server
> netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd
> netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd
No, that's how to run Samba out of inetd. This has several major flaws.
1: Most modern Linux and other OS distributions now use xinetd, which
keeps its services in individual config files in /etc/xinetd.d/.
2: You have to run xinetd or inetd to use this sort of feature.
3: It doesn't let you turn on or off Samba without having to futz with
the inetd or xinetd service.
4: No major OS distribution that I know of these days does Samba this
way anymore, they use init scripts instead.
There are some minor advantages to it, such as automatically restarting in
case Samba gets slapped down, but the overhead of running all these daemons
on a major Samba server is way too high to justify it. |