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
You might want to skip xinetd and just run smbd and nmbd as stand alone daemons. smbd -D nmbd -D will start them up if they are in you "path" (echo $PATH to see) Otherwise, supply the full path name to your daemons. If they don' start, make sure they are not already running: ps ax | grep smbd If they are running, you can use: killall smbd (provided there is no path in front of smbd). Be root when you do this. Boy. You are learning linux and samba at the same time. This is called a STEEP learning curve. The fancy startup scripts are nice but you don't have to use them. Joel On Thu, Sep 27, 2001 at 04:16:39PM -0500, 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 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
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@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 >