Click to See Complete Forum and Search --> : Connecting RH8 to our domain


ianforest
02-18-2003, 06:41 AM
Hi there,

I installed Samba on my RH8 box at work. I've managed to get internet working through ISA server but am having problems connecting through the 2000 Server domain.

I can see network shares and stuff but I cannot set up shared printers?

Anybody got an FAQ relating to adding RH8 onto a domain?

Many thanks!
Ian.

Dutch Mafia-boy.
02-18-2003, 09:36 AM
did you enter the name of your domain under the global setting where it says "workgroup"......

ianforest
02-18-2003, 11:55 AM
Yes

AstroDroid
02-19-2003, 12:41 AM
Here is one way. I had my system mount the domain shares using the rc.local file. Probably not the best way, but it works.

Here is my mount command just FYI
mount -t smbfs -o fmask=777,dmask=777,ip=192.168.6.11,workgroup=work groupname,user=username,password=your passwd //Win2kSrv/ServerShare /mnt/directory

You may want to change the masks, just remember that they are backwards when using mount.

Hope this help

GeneA
02-20-2003, 06:19 PM
"...adding RH8 onto a domain?"

If you're referring to adding the computer name to the domain:

At a command prompt:

smbpasswd -j domainname -r servername -U username

You'll be prompted to enter a password after you hit the enter key for this command.

username and password must have admin rights to add computers to the domain.

Also, the computer name cannont already 'exist' in the domain...if so, you have to delete it and then run the above command.

This command works (as far as I know) for any Linux box being added to a Windows domain.

plattypus1
02-20-2003, 11:05 PM
This may be a stupid question... please don't flame me if it is... but do you need Samba to do that? I am running a mail server with limited hard drive space and don't wanna use too much.