LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2007, 09:28 AM   #1
williepabon
Member
 
Registered: May 2007
Posts: 93

Rep: Reputation: 0
Loggin to a Windows AD Domain


I have very little experience with Linux but I dared to install Suse Linux 10.1 to one of the machines at my office. My intention was to have it join the Windows domain of my network and then be able to login using the username and password I have on the domain. I suppose, I installed all the programs necessary to connect to the network following the installation instructions. The machine was able to join the domain and I was able to see all the boxes connected to the domain. What I cannot do is login to the domain using my domain user and pw.

Any suggestions?
 
Old 05-15-2007, 09:35 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
You didn't mention which distro you are using. Most use PAM and may allow you to select Domain as the authentication source in the Users & Groups section.

In SuSE for example, You would go to YaST2 -> Users & Groups -> Authentication & User Data Sources (in advanced... dropdown). There are 4 choices in that section. NIS, LDAP, Kerberos, and Samba.

Last edited by jschiwal; 05-15-2007 at 10:05 AM.
 
Old 05-16-2007, 11:51 AM   #3
williepabon
Member
 
Registered: May 2007
Posts: 93

Original Poster
Rep: Reputation: 0
Login to AD

Quote:
Originally Posted by jschiwal
You didn't mention which distro you are using. Most use PAM and may allow you to select Domain as the authentication source in the Users & Groups section.

In SuSE for example, You would go to YaST2 -> Users & Groups -> Authentication & User Data Sources (in advanced... dropdown). There are 4 choices in that section. NIS, LDAP, Kerberos, and Samba.
Of 4 choices, I configured LDA, Kerberos and Samba, and still I'm not able to authenticate on my Windows domain. Still looking for a solution.
 
Old 05-16-2007, 10:39 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
You need to join the Linux machine to the domain/realm. I don't know if you are using AD or have an NT domain.

In SuSE's YaST2 -> Network Services, click on Windows Domain Membership. You may need to do this as a Windows Domain Administrator. I don't have a windows domain to try it out, but be prepared to enter both the username and password of the administrator. There are suboptions about whether you want a /home/ directory created when a Domain User logs in.

If you are using a different distro, then you will need to find a similar configuration program or manually configure PAM. You can also join the host to the domain from windows, but you also want to change how you log in on the Linux Machine.

I don't know what LDA stands for.

The Samba 3 books (possibly supplied by a samba-doc package) have information about AD and NT domains.

Last edited by jschiwal; 05-17-2007 at 07:43 AM.
 
Old 05-17-2007, 07:43 AM   #5
williepabon
Member
 
Registered: May 2007
Posts: 93

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jschiwal
You need to join the Linux machine to the domain/realm. I don't know if you are using AD or have an NT domain.

In SuSE's YaST2 -> Network Services, click on Windows Domain Membership. You may need to do this as a Windows Domain Administrator. I don't have a windows domain to try it out, but be prepared to enter both the username and password of the administrator. There are suboptions about whether you want a /home/ directory created when a Domain User logs in.

If you are using a different distro, then you will need to find a similar configuration program or manually configure PAM. You can also join the host to the domain from windows, but you also want to change how you log in on the Linux Machine.

I don't know what LDA stands for.

jschiwal:

Thanks for your help. Sorry about the typo. It's not LDA; its LDAP. As I said before, my linux box is able to join the AD (not NT) domain and I can browse the machines and shares available. What I cannot do is to login to the domain with my username and password (the one that I have on the domain). I read somewhere that Windows won't let a user to login with windows credentials in the domain using a linux box. Is that true?
Thanks again.
 
Old 05-17-2007, 09:32 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
On my system, I can opt to have users authenticate using AD. I would go to YaST -> Users and Groups -> Authentication and User Data Sources. I would then select Samba and enter the name of the domain and check the "Also use smb for Linux Authentication". I didn't catch which distro you are using, but I'll bet it has a similar configuration setting. ( This dialog turned out to be the same that the Join Windows Domain led to.)

You might also read in the "Samba 3 Howto and Reference Guide". Maybe the troubleshooting information would help.
Also google for "AD Linux authentication redbook". The IBM Redbooks may have more information.

I read somewhere that installing the latest kerberos packages may be important.

This article may help:
http://www.windowsnetworking.com/art...Directory.html

Last edited by jschiwal; 05-17-2007 at 09:42 AM.
 
Old 05-18-2007, 09:09 AM   #7
williepabon
Member
 
Registered: May 2007
Posts: 93

Original Poster
Rep: Reputation: 0
jschiwal:

Thanks for the info. Instruction on windows networking website did the trick. Now I have another problem. I want to uninstall a program that runs at boot up, but I don't know if there exist a utility like the windows uninstall.
My Linux version is Novell Suse 10.1
 
Old 05-20-2007, 02:24 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
You can uninstall packages using YaST2.
 
Old 05-21-2007, 07:43 AM   #9
williepabon
Member
 
Registered: May 2007
Posts: 93

Original Poster
Rep: Reputation: 0
Login to Windows AD Domain

Done!

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba 3.0.21a and Samba Domain Member Servers in a Windows 2003 ADS Domain ramz Linux - Networking 3 04-09-2006 09:26 PM
linux domain versus windows domain JamShah Linux - Networking 5 10-31-2005 07:52 PM
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 07:03 AM
Loggin in to a Windows Domain Per Linux - Networking 5 02-19-2005 11:32 PM
domain name v's Windows domain... plisken Linux - Networking 8 05-20-2003 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration