I assume this is not some RH supplied RPM.
If this is so, none of the executables are going to be where RH expects them,
neither will the lock files, smbd.pid, etc.
Everything is likely in /usr/local/samba
So, you will have to write your own scripts to start and stop samba, etc.
This is easier, I think, that trying to modify the RH scripts, which are
fairly involved. The startup script can be as simple as this:
#!/bin/bash
case "$1" in
start)
killall smbd <--- I am not sure if this is needed
killall nmbd
/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D
;;
stop)
killall smbd <---Again, may be overkill. Maybe, you should
killall nmbd <-----just kill the parent smbd. Haven't tried this.
;;
reload)
kill -SIGHUP `cat /var/lock/samba/smbd.pid`
kill -SIGHUP `cat /var/lock/samba/nmbd.pid`
;;
*)
echo Usage:
echo start stop reload
;;
esac
exit 0
Joel
On Thu, Dec 13, 2001 at 04:47:23PM -0500, Bill Markley
wrote:> Hi,
>
> I have just downloaded the samba 2.2.2 rpm version for RH 7.1. Where can I
> find documentation that will help me set it up. I can't get it started
> running. In a previous version you could just type samba & the
services
> would start/stop. I would like to configure this box as a fileserver in an
> NT domain if possible.
>
> Any help is appreciated,
> Bill
>
> --