After you configure /etc/smb.conf  to your installation you can place the
following in /etc/inetd.conf to start Samba automatically.

netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd -D
netbios-ns   dgram udp    wait root /usr/sbin/nmbd nmbd -D

or you could start the services by:

cd /usr/sbin
./smbd -D
./nmbd -D

of course "/usr/sbin" may not be where your Samba resides.  It could be in
/usr/local/samba/bin.



"Noll, Ralph" wrote:

> so how do i start samba.. smbd and nmbd
>
> > -----Original Message-----
> > From: Tzafrir Cohen [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 18, 2003 1:00 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: getting to samba
> >
> >
> > On Tue, Mar 18, 2003 at 08:14:22AM -0600, Noll, Ralph wrote:
> > > zvmlinx2:~ # smbpasswd
> > > New SMB password:
> > > Retype new SMB password:
> > > Failed to find entry for user root.
> > > Failed to modify password entry for user root
> > > zvmlinx2:~ # smbpasswd
> > > New SMB password:
> > > Retype new SMB password:
> > > Failed to find entry for user root.
> > > Failed to modify password entry for user root
> > > zvmlinx2:~ #
> >
> > The option '-a' may come in handy.
> >
> > This is still not relevant to swat. In fact I believe that it is
> > generally a bad idea to allow root to connect throughsamba
> >
> >
> > A little advice, if I may: swat is just a nice web interface. That's
> > all. Samba is perfectly functional without it. Get the
> > default smb.conf,
> > a decent text editor (IIRC both vim and emacs have syntax
> > hilighting for
> > this file) the docs, and configure it away. The default file is well
> > commented.
> >
> > --
> > Tzafrir Cohen
> > mailto:[EMAIL PROTECTED]
> > http://www.technion.ac.il/~tzafrir/
> >

Reply via email to