Newbie...config issues/confusion

Mike Rambo mrambo at lsd.k12.mi.us
Fri Sep 28 04:41:04 GMT 2001


Hello,

The command 'ntsysv' at a prompt will bring up a config screen where you
can control which services are on/off at bootup. In addition, 'setup' at
a command prompt will bring up another config where you can adjust
firewall settings among other things. Make sure the firewall is not so
tight as to not allow smb communications. There are some scripts which
allow pretty easy management of most services on RedHat (and RedHat
type) boxes. Some examples for Samba management...

/etc/rc.d/init.d/smb start
/etc/rc.d/init.d/smb stop
/etc/rc.d/init.d/smb restart
/etc/rc.d/init.d/smb status

These scripts manage smb on the fly whereas ntsysv does so at boot time
(by setting the same script to run at bootup via a symlink in
/etc/rc.d/rc5.d (or rc3.d for text)). If you look in /etc/rc.d/init.d
you'll see a bunch of services that can be controlled in this fashion.

Hope this helps.


-- 
Mike Rambo
mrambo at lsd.k12.mi.us


Rebecca Pakish wrote:
> 
> Hi all...
> 
> I'm new to the linux world and new to samba.
> I just configured amanda to run on my RH 7.1 box and talk to my test solaris
> client. Now I'm onto my NT boxes. My RH 7.1 came with samba 2.0.7, I went
> out and got 2.0.10...
> 
> I'm wading through the man page for smb.conf and think I've got handle on
> it. What I'm unclear about is that since I'm using RH 7.1, I don't have
> inetd.conf, have xinetd.conf instead. I know in my amanda config, I didn't
> have to put the udp/tcp lines into xinetd.conf as long as the entries were
> correct in /etc/services. Is this true with samba as well?
> 
> I've got smbd and nmbd in /usr/sbin
> 
> when I try
> # smbclient -L hostname
> added interface ip = 10.1.7.13 bcast = 10.1.7.255 nmask = 255.255.255.0
> 
> and it just hangs there, whether I have the netbios-ssn and netbios-ns lines
> in xinetd.conf or not.
> 
> Please do not assume I know anything...feel free to talk to me like I'm a
> six-year-old. I'm strugglin' here...
> 
> Thanks,
> rap
> 
> Rebecca A. Pakish
> Systems Administrator
> Unterberg & Associates, P.C.
> (219) 736-5579 ext. 184
>




More information about the samba mailing list