Click to See Complete Forum and Search --> : RH7.1 and Samba


Zor
10-15-2001, 12:00 AM
Hello! I've been asking this in various places for a while now, but no one seems to have an answer...

I've been trying to get Samba running in RH7.1. I've done a custom install, making sure to include everything relevant for installation. I've even tried rpm'ing upgrades for samba. The problem is, the smbd and nmbd daemons never get installed, making samba a bit tricky. The only way I've found to install them, and swat, is to download and install samba by hand, from samba.org instead of by rpm. Even then it didnt work so great.

So, whats the deal? I've heard RH7.1 does things a little funny, and people have gotten samba to work without the smbd and nmbd files existing, but I havent found how they managed it. I was also having problems with xinetd, it didnt exist either, but doing a custom installation seems to have fixed that. Before I had to manually install that as well, and it made an xinetd.conf file for configuration, instead of the individual files in xinetd.d.

So anyways, do I have to install Samba manually from samba.org? If so, whats the purpose of the rpm's and installation files from RedHat? If I have to manually install it, where do I get startup scripts? Thats been another tricky area, I havent been able to find any.

Thanks for any help. :)

pbharris
10-15-2001, 12:20 AM
Hello,
You installed the RPMs - right? one for samba client and another for server. Now, you can use the command line to have it start up at or use linuxconf. In linuxconf go to the services area, scroll down and find samba and there will be the options for have it start up automaically. if at command line see if there is anything ins /etc/rc5.d/ which ends with SAMBA, if so does this start with a K or an S ? if an S then it should be satrting up fine by itself, if not then delete it and cd into rc5.d type ln -s ../init.d/samba S90Samba

Zor
10-15-2001, 02:10 PM
Well, I finally found the problem. What confused me was that the samba.org distribution comes in one big chunk, but the rpm distribution comes in about 4 chunks. RH7.1 only installs the common files, and the client files, which dont include smbd or nmbd. I dont think up2date showed me the other rpm's for the bit of samba I needed either. So, I wnt directly to Redhat's website and downloaded and installed all 4 rpms, and now everything is happy.

Except that I still cant get samba to work, but thats for another thread. :) My dang Windows boxes still cant connect to the Linux box, even after modifying the lmhosts file. Blarg!

Thanks. :)