| Author |
Join RH8 to Domain
|
|
| csiszerd 2003-05-27, 3:42 pm |
| I just started playing with Linux RedHat 8 just to get my feet wet.
I was looking on some different web site trying to find out how to join Linux to a Windows 2000 domain.
Can I do this from commands, Gnome, or KDE or do I need another piece of software? | |
| Boulware5 2003-05-27, 5:45 pm |
| Think Samba when you associate Windows with Linux. You can configure a Samba server as a primary domain controller. Now I am not sure if this is what you want, but here is a good link:
http://www.linux-mag.com/2002-02/samba_02.html | |
| csiszerd 2003-05-28, 4:57 am |
| Would Samba be involved in making Linux Workstation into a "client" for a Windows Domain? | |
| prezbedard 2003-05-28, 8:27 am |
| csiszerd,
I tried connecting my RH8 box to a Windows 2000 Domain a while back without too much luck so if you figure it out let me know.
One thing I believe you need to do is create a computer account for the linux machine in Active Directory. | |
| csiszerd 2003-05-28, 8:52 am |
| I got the computer on the domain BUT I can't get a user to log on the domain.
I added MyDomain.com in the network settings for the computer | |
| prezbedard 2003-05-28, 9:21 am |
| What else did you do besides create a computer account in AD?
I did some command lines before but forget what I tried. Since I've been back in windows world for a while now.
This sounds like a job for Mr. Linux Guy ! | |
| ClintonN 2003-05-28, 12:40 pm |
| I don't believe you will be able to benifit from AD. But you can create an NFS server using services for Unix on your windows dc. | |
| csiszerd 2003-05-28, 5:08 pm |
| I didn't add the computer in AD actually.
I got Samba installed then I got SWAT configured and running which is a WEB Gui to Samba. I set Security to DOMAIN and Encrypted Password to Yes.
Then I opened up a Terminal and typed smbpasswd -j MyDomain.com -r MyPDC -U AdminWithRightsToJoinTheDomain
Then It asked me for a password for the admin for the domain and it joined it.
If you want the details on the Samba and Swat I'll post a link to them. | |
| prezbedard 2003-05-28, 6:57 pm |
| Please do!
I had so much trouble trying to do it before. just kept typing different commands I was told to try but nothing seem to work properly.
Thanks | |
| csiszerd 2003-05-29, 9:54 am |
| First I went to www.Samba.org went to the USA web site and clicked on the | |
| prezbedard 2003-05-29, 12:52 pm |
| quote: Originally posted by csiszerd
First I went to www.Samba.org went to the USA web site and clicked on the
clicked on the what?? Don't leave me such suspense I can't take it. | |
| csiszerd 2003-05-29, 3:57 pm |
| First I went to www.Samba.org went to the USA web site and clicked on the "downloads" link and found the Samba for my version of Linux "Which was RH8".
I installed the Samba RPM on my machine and I tried the Samba command line.
smbpasswd -j DOMAIN -r PDC -U AdminToJoinDomain
DOMAIN, PDC, and AdminTo... were personalized to my network.
It came up with the error telling me my settings must be--- SECURITY=DOMAIN, ENCRYPTED PASSWORD=YES
I didn't know what it was talking about until I found these settings in the smb.conf file.
I tried editing the file but it wouldn't take. So I adventured to SWAT which is a WEB interface to configure all these settings.
The following link is what I used to set it up.
http://samba.linuxbe.org/en/samba/learn/swat.html
I couldn't get SWAT to work after that but found out I just needed to re-boot.
After the reboot I got into SWAT and changed the settings to SECURITY=DOMAIN, ENCRYPTED PASSWORD=YES and it took!
I tried the smbpasswd -j DOMAIN -r PDC -U AdminToJoinDomain command line again then it prompted for my Domain admin's Password.
I put it in and I was on the Domain
My next adventure is mapping uh I mean mounting a network share on the W2K servers to the Linux box. | |
| csiszerd 2003-05-29, 3:57 pm |
| First I went to www.Samba.org went to the USA web site and clicked on the "downloads" link and found the Samba for my version of Linux "Which was RH8".
I installed the Samba RPM on my machine and I tried the Samba command line.
smbpasswd -j DOMAIN -r PDC -U AdminToJoinDomain
DOMAIN, PDC, and AdminTo... were personalized to my network.
It came up with the error telling me my settings must be--- SECURITY=DOMAIN, ENCRYPTED PASSWORD=YES
I didn't know what it was talking about until I found these settings in the smb.conf file.
I tried editing the file but it wouldn't take. So I adventured to SWAT which is a WEB interface to configure all these settings.
The following link is what I used to set it up.
http://samba.linuxbe.org/en/samba/learn/swat.html
I couldn't get SWAT to work after that but found out I just needed to re-boot.
After the reboot I got into SWAT and changed the settings to SECURITY=DOMAIN, ENCRYPTED PASSWORD=YES and it took!
I tried the smbpasswd -j DOMAIN -r PDC -U AdminToJoinDomain command line again then it prompted for my Domain admin's Password.
I put it in and I was on the Domain
My next adventure is mapping uh I mean mounting a network share on the W2K servers to the Linux box. | |
| prezbedard 2003-05-29, 6:36 pm |
| Thanks,
I believe I took very similar steps as those and recieved similar errors.
I have edited the samba config file and worked with swat.
Do you have files shares working 2 way?
Last time I got it working one way. I was able to access Windows shares from linux but not Linux shares from Windows. Nor was I able to get to the linux box from Network Neighborhood it told me it couldn't find the network path. I was able to successfully ping both ways though. |
|
|
|