LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-04-2016, 01:20 PM   #1
B3rgman
LQ Newbie
 
Registered: Apr 2016
Posts: 7

Rep: Reputation: Disabled
Running RHEL 6.6 against AD


Hello,
I am trying to authenticate RHEL 6.6 against my AD infrastructure. I have setup kerbos, samba and created the sssd file.

I am able to ssh to the box and use My AD password and login. But I also have a local account for configuring. when I delete the local user account it says I have a bad password.

Have I missed a step?


Thank you!!!
 
Old 04-05-2016, 05:38 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,623

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
zombie need data. Not brains, data. (OK, also need brains.)

Quote:
Originally Posted by B3rgman View Post
Hello,
I am trying to authenticate RHEL 6.6 against my AD infrastructure. I have setup kerbos, samba and created the sssd file.

I am able to ssh to the box and use My AD password and login. But I also have a local account for configuring. when I delete the local user account it says I have a bad password.

Have I missed a step?


Thank you!!!
Have you set it up to match local and AD accounts, or when you log on using AD does it create the local user and home? No matter how you authenticate, you need a local home folder. If your local and AD users had the same home, you just messed up the link between them.
BTW: Windows does the same thing. You may authenticate using AD credentials, but it creates a local home folder tree and caches information locally.
So much depends upon the details! If this is not enough to help you, we may need you to quote your Samba config file, kerberos, nss, and one line from your passwd.
 
Old 04-06-2016, 06:01 AM   #3
B3rgman
LQ Newbie
 
Registered: Apr 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hi wpekham,
Thanks for the reply. I thought I had set it up to create home folders. I did it another way with OEL 6.7 and I am able to authenticate to it. But I get

Domain Controller unreachable, using cached credentials instead. Network resources may be unavailable
Could not chdir to home directory <path\user> No such file or directory. This doesn't happen all the time but seems to more than not. I am able to do blind wbinfo commands and get results. so I believe it is tied to my domain. I added it using authconfig-gtk. Is there anything that needs to be set to create the home folder?
 
Old 04-06-2016, 03:21 PM   #4
B3rgman
LQ Newbie
 
Registered: Apr 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by B3rgman View Post
Hi wpekham,
Thanks for the reply. I thought I had set it up to create home folders. I did it another way with OEL 6.7 and I am able to authenticate to it. But I get

Domain Controller unreachable, using cached credentials instead. Network resources may be unavailable
Could not chdir to home directory <path\user> No such file or directory. This doesn't happen all the time but seems to more than not. I am able to do blind wbinfo commands and get results. so I believe it is tied to my domain. I added it using authconfig-gtk. Is there anything that needs to be set to create the home folder?
Ok I got this to work finally with keytabs. Now the new issue. How can I get my other trusted domains to authenticate to this box? it only seems to want to connect to the domain it is connected to. But in my forest there are about 4 domains.
 
Old 04-06-2016, 08:29 PM   #5
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,623

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Quote:
Originally Posted by B3rgman View Post
Ok I got this to work finally with keytabs. Now the new issue. How can I get my other trusted domains to authenticate to this box? it only seems to want to connect to the domain it is connected to. But in my forest there are about 4 domains.
I have never done that myself, but I do remember running into it in the documentation. I did not mark it, since it was not something I needed. I suggest you google for that, I bet it will turn up on the first page.
 
Old 04-07-2016, 06:00 AM   #6
B3rgman
LQ Newbie
 
Registered: Apr 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by wpeckham View Post
I have never done that myself, but I do remember running into it in the documentation. I did not mark it, since it was not something I needed. I suggest you google for that, I bet it will turn up on the first page.
I googled for several hours yesterday with no clear results. Maybe im searching the wrong key words. Im going to try again today
 
Old 04-07-2016, 04:18 PM   #7
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,623

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
google

something like "interdomain trust relationships" if I recall.
 
Old 04-08-2016, 12:17 PM   #8
B3rgman
LQ Newbie
 
Registered: Apr 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by wpeckham View Post
something like "interdomain trust relationships" if I recall.
Thanks wpeckham. I think we got it using LDAP. I just cant get it to create any home directories for users that aren't in the default realm.

Last edited by B3rgman; 04-08-2016 at 12:31 PM.
 
  


Reply



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
Running Oracle on RHEL 5 kenneho Linux - Server 6 07-07-2009 02:58 AM
Can't boot X Display running RHEL 4.4 soniquser Linux - Newbie 1 05-19-2009 12:58 PM
Login problems with XDMCP from a pre-RHEL-4 client to a RHEL-4 server running KDE cspao Red Hat 0 07-21-2006 06:30 AM
RHEL AS 3 - Error running up2date jrparker2005 Red Hat 1 08-13-2005 07:19 AM
Anyone running Vmware on RHEL 4 ? ravikumarG Linux - Enterprise 4 05-06-2005 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:30 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
Open Source Consulting | Domain Registration