Re: RH 9.0, Putting Samba on Linux with RPM?
From: Lenard (lenard_at_127.0.0.1)
Date: Sun, 21 Nov 2004 21:41:50 GMT
On Sun, 21 Nov 2004 16:27:40 +0000, W. Watson wrote:
> Thanks for the info. It sounds like you are saying that going to Fedora
> shouldn'be be harmful. Probably not, but I'll check with the people who
> wrote the application. Supposedly this ia a set it and forget it
> application, so updating Linux shouldn't be much of an issue.
I do suggest that if possible that you do in fact update to Fedora Core 2.
If the people who wrote the application agree, then follow their advice.
If not then, ask them to assist you in upgrading the RHL9 packages, you
might want to direct them to this newsgroup thread. The replies I have
posted are instructions to update RHL9 to the latest available upgrades to
the packages already installed on your RHL9 system. I have provided
(hopefully), in this reply, a more detailed set of instructions below that
should update your RHL9 system with all the upgrades available for RHL9.
> I just did a google on Synaptic thinking that may actually be a
> dictionary word. It's a a mgmt. package, and I'm guessing the apt came
> from the middle of it, which is a dictionary word. An interesting
> marketing angle.
The two packages apt and synaptic are related, synaptic is the GUI
interface to apt;
apt-get is the command-line tool for handling packages, and may
be considered the user's "back-end" to other tools using the APT
library. Several "front-end" interfaces exist, such as
dselect(8), aptitude, synaptic, gnome-apt and wajig.
You might want to visit; http://freshrpms.net/apt/
> I could manually update it daily as you suggest, but the Linux computer
> is in another building and it not always on my mind to keep the clock up
> to date. The application runs 7/24 and needs better time management than
> I'm currently giving it. Although less demanding for the application,
> moving its data files across the net would be helpful. Thankfully I only
> have to do that about once a month. If there's an alternative network
> facility that would allow me to keep time on the network, I'd be
> interested. I can forgo the samba route for some sneaker net activity
> once a month. BTW, the app is an all sky camera that captures meteor
Which is why you make use of ntpd or at the very least use a cron job once
a day to adjust the time using ntpdate.
Sample job (place in /etc/cron.daily) filename net-time;
# Adjust the system time
/usr/sbin/ntpdate -u 22.214.171.124
Then set the permissions;
-rwxr-xr-x 1 root root 81 Nov 21 15:37 net-time
Adjust the command (change the IP address) to use a time server of your
choice. For example lets say you have another system someplace that serves
time to other Windows systems and this server's IP address is 192.168.0.1,
then the ntpdate line would read;
/usr/bin/ntpdate -u 192.168.0.1
> It may be that the samba installation on RH 9 is defective. That might
> explain the man page and other weirdness. I found the follow page
> yesterday that suggests there may be some deficiency. See
> and comments about SWAT. Odd too that my wife's machine seems to be OK
> Samba wise. At least it appears to be complete, although she uses it
> without a network. However, mine is the Shrike version, which is the
> costly version with phone support (expired). Also, she's applied every
> fix she could get her hands on.
OK, first find out which samba packages you have installed;
rpm -qa '*samba*'
Sample output (yours will be different);
You should see redhat-config-samba instead of system-config-smaba. And if
I remember correctly with RHL9 the samba-swat RPM is not installed by
You still can bring your RHL9 system current (all the updates for RHL9) by
following these instructions as root from the console or xterm session,
assuming you have a working Internet connection;
This command will download and install the apt RPM package;
The above line is one long line with a space after the '-ivh' portion and
before the rest of the command. By downloading and installing this package
the apt-get /etc/apt/sources.list file is already configured to use the
fedora.us RHL9 site to get the updated packages.
This command will updated the apt package index files list ( to the latest
This command will update your install RPM packages to the latest ones
available for RHL9;
If you still need to install samba-swat after installing the other RHL9
apt-get install samba-swat
If you want to install/use the synaptic (a graphical interface to apt-get)
apt-get install synaptic
-- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- B. Franklin, 1759