Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I add LINUX workstations to a W2K Domain/Network and how... tcp/ip

Status
Not open for further replies.

skw234

Programmer
Feb 19, 2003
13
US
All,

Can I add LINUX Workstations to an existing W2K Domain/network and how? I want to log onto the network like a Windows box and get simular services such as e-mail and file sharing. My thinking is that I can with NFS and TCP/IP... please assess and provide help and clarity!

Sean
 
First Join the domain


modify your smb.conf


password = domain
password server = domain_controller_IP


Then add the linux workstation as domain member from the NT PDC


On linux now join the domain

smbpasswd -j domain_name -r domain_controller_name

If succesful now set up shares


If you have your email over the NT network then Linux has many email client available. Just pick one and configure it as you would do with windoz


For file sharing you have to permanently mount smb shares onto your /etc/fstab file

first create the /mnt/samba directory

mkdir /mnt/samba

now create a smb filesystem entry in /etc/fstab
a smb share entry would look like this

//windozPC/share_name /mnt/samba ip=windoz_ip,username=user,password=pass 0 0


Alternatively

mount the share in your user .bashrc file

Example

For root to mount a share called OPEN on a Windoz box called HYDRA
with address 192.168.1.1 add this line into

/root/.bashrc


mount -t smbfs -o ip=192.168.1.1,username=user,password=pass //hydra/open /mnt/samba


Each time you log on root user the share OPEN is automatically mounted.


Bye

Qatqat

The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore)
 
I will try it out this weekend and let you know then.
SW
 
Cool

good luck


Bye

Qatqat

The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore)
 
I read over your reply and I have a few questions...
1.)I will be adding this box to a W2K directory with directory services. Is it still possible

2.)When adding to the directory... are you talking about supplying a username and account from the W2K Active Directory or just adding the computer name or both?

3.)I thought Windows had different ways of authenticating then Linux. Would there be an issue?

Confused
sw
 
You will need Samba 3.0 in order to connect to Windows Active Directory. You will also need to confugre kerberos as well. There is a HOW-To at
You will also need to add a winbind uid and gid range in the smb.conf and edit the /etc/nsswitch.conf and add winbind to the passwd and group.
 
I am a newbie to LINUX, but want to install it at work to learn. I have 2 boxes to play with and maybe I'll install both or create a dual boot. I have RedHat 7.3 and Mandrake 9.1. not sure which is best, but for now I'll install the RH7.3 operating system. I think I can do most things you suggested. I'll go to the samba site and check it out.

Thank you
 
Linux comes in many flavours; I don't want to get into which one is better as anyone could agree or disagree with me with good enough reasons.

Anyway, I thought you wanted to join a normal NT domain.
My only experience with Active Directory has been a disaster. However I am willing to find out a bit more about although I completely removed any Windoz domain controller from my network.

Question:

Do you really need to join the domain?
I know that the user list won't be synchronized with the NT controller but you can still have all TCP based services without being part of a domain.
Regarding authentication then, all you need to do is to add all users separately in samba.

What do you guys think?
I would like to hear different opinions about.

Bye

Qatqat

The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore)
 
I don't really need to join a domain, however, my company is thinking about using Linux workstation for incoming IT personnel since it's basiscally free. The small caveat is they want to have sense of some control over some user rights and such! Well to make a long story short... I am aware of the tcp services but really need to figure out how to create a LINUX environment under a W2K Active Directory and make both co-exist? Please continue providing answers ... thnx
 
I'm working on this with a co-worker now. I'll post the instructions once I get it going myself.
 
Hi Thilton,

My instructions were enough to join a normal NT domain.
I tested and used it myself several times.
All the rest of settings specified in your link are accessories and will only make his life more complicated. The only part that is relevant for Active Directory setup is the one about Winbind. Winbind is not yet stable so it is not advisable to attempt to use it in a production environment.

Skw234 wants to use Active Directory therefore he needs to look at much more updated documentation.
The only part that is relevant for Active Directory setup is the one about Winbind. Winbind is not yet stable so it is not advisable to attempt to use it in a production environment.

I do agree with Clonny2 that the best place to look for it is the samba site but I am not aware of any Samba 3.0 yet.


Bye

Qatqat

The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top