I am working on a similar problem. First, if you’re configuring your Redhat Box by DHCP, make sure your getting an address on that box (ifconfig in command line). I would highly recommend you should have a static IP on that address, If you going to be using your server for DNS and FTP. You don't want the address for lookups and FTP serving changing on you.
You can remove DHCP by the following:
1. edit /etc/sysconfig/network-scripts/ifconfig-eth0 to say "onboot=no". -> this will turn off the DHCP on bootup.
To configure your box do the following
2. add the following lines to /etc/rc.d/rc.local
/sbin/ifconfig eth0 199.119.119.119 <-- your static IP address
/sbin/ifconfig eth0 netmask 255.255.255.0 <-- your subnet mask
/sbin/route add default eth0
/sbin/route add default gw 119.119.119.1 <-- router/gateway
/bin/hostname XXXX <-- sets hostname to XXXX (change this to the name of the PC)
/bin/domainname XXXX.XXXX <-- sets domainname to XXXX.XXXX(change this to your domain name)
3. Edit /etc/resolv.conf to include your DNS information
search XXXX.XXXX <-- optional search domain (should be the same as the domain name in #2)
nameserver 119.1.1.1 <-- nameserver 1 (change this to the IP of your DNS server)
nameserver 119.1.1.2 <-- nameserver 2 (change this to the IP of your second DNS server ie this linux box)
4. Add your IP address, hostname, and hostname.domainname information to the /etc/hosts file
127.0.0.1 localhost localhost.localdomain (type this exactly)
199.119.119.119 XXXX XXXX.XXXX (this should be the IP address for the box (space) hostname in #2 (space) the domain name in #2.
Reboot (I am sure there is a way around this, but I don’t know how)
Now, assuming that you setup your samba correctly, start your SMB service (command line "service smb start" with out the "")
Now, join the domain by typing in the following in a command line
smbpasswd -j XXXX.XXXX -r YYYYY -U administrator%password
XXXX.XXXX is your domain name (should be this same is in above #2) YYYYY is the name of your Active Directory server. PLEASE NOTE THE CAPITAL U. You can change users from administrator, but it has to be an account in AD that allows a PC to join the domain also, don't type in "password" type in the password of the administrator account in AD. Opps, i forgot to tell you, make a computer account (in AD) for the linux box before this step. Your linux box should say joined the XXXX.XXX domain. You then should see your linux box in network neighborhood. Now you just have to edit permissions in the smb.conf file for shares on your linux box.
I got most of this from the following web address.
http://lppcfom.sourceforge.net/fom-s...ache/1045.html
Also, you can check this site out. I know, its for Mandrake, but it seems to be helpful as well.
http://www.mandrakeuser.org/docs/connect/csamba5.html