LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-18-2016, 04:47 PM   #1
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS 5/6
Posts: 186

Rep: Reputation: 6
CentOS 6 and Active Directory Integration


I am trying to implement active directory logins (Server 2012 R2 Standard) to our CentOS 6 workstations. I have been at this all week and almost have it working.

When I run
Quote:
kinit <domain user>
and enter password it returns with no error messages.

When I run
Quote:
wbinfo -a and -g
it returns AD users and groups.

When I run
Quote:
getent passwd
it returns all domain and local users.

When I run
Quote:
su - <domain user>
I can login to the command line successfully. This also creates the users home directory
Quote:
/home/<domain>/<domain user>
When I run
Quote:
ssh <domain user>@pc01
I can login to the command line successfully. This also creates the users home directory
Quote:
/home/<domain>/<domain user>
Everything seems to be working until I try to login to the console. I am then presented with the following error messages trying different username combos.

Using domain user alias ex: t.user
Quote:
Oct 18 15:13:42 pc01 pam: gdm-password: pam_unix(gdm-password:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=t.user
Using user alias plus domain t.user\@example.com
Quote:
Oct 18 15:13:57 pc01 pam: gdm-password: pam_unix(gdm-password:auth): check pass; user unknown

Oct 18 15:13:57 pc01 pam: gdm-password: pam_unix(gdm-password:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=

Oct 18 15:13:57 pc01 pam: gdm-password: pam_succeed_if(gdm-password:auth): error retrieving information about user t.user\@example.com

Oct 18 15:13:57 pc01 pam: gdm-password: gkr-pam: error looking up user information for: t.user\@example.com
Using domain\user alias ex: EXAMPLE\t.user login
Quote:
Oct 18 15:14:12 pc01 pam: gdm-password: pam_unix(gdm-password:auth): check pass; user unknown

Oct 18 15:14:12 pc01 pam: gdm-password: pam_unix(gdm-password:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=

Oct 18 15:14:12 pc01 pam: gdm-password: pam_succeed_if(gdm-password:auth): error retrieving information about user EXAMPLE\t.user

Oct 18 15:14:12 pc01 pam: gdm-password: gkr-pam: error looking up user information for: EXAMPLE\t.user
What in the french toast am I missing?

Thanks in advance.

Last edited by d072330; 10-18-2016 at 04:52 PM.
 
Old 10-18-2016, 04:50 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,235
Blog Entries: 4

Rep: Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262Reputation: 3262
If I were a guessing man, I'd say that it has something to do with that word, EXAMPLE\ ...

Also, when troubleshooting these kinds of issues, always arrange things so that you can look at the LDAP Server's logs, contemporaneously. Be able to "try something, and then immediately see what both machines saw, and what both machines say they said or heard."

Last edited by sundialsvcs; 10-18-2016 at 04:52 PM.
 
Old 10-18-2016, 04:55 PM   #3
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS 5/6
Posts: 186

Original Poster
Rep: Reputation: 6
I am guessing this is the culprit but I am not 100% sure.

Using domain user alias ex: t.user
Quote:
Oct 18 15:13:42 pc01 pam: gdm-password: pam_unix(gdm-password:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=t.user
I can login on the command line just fine but I cannot login to the desktop whilst sitting at it.

Thoughts?
 
Old 10-27-2016, 12:23 PM   #4
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS 5/6
Posts: 186

Original Poster
Rep: Reputation: 6
bueller bueller? Anyone?
 
  


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
LXer: CentOS-Based NethServer 7 Linux Adds Active Directory Integration in Third Alpha LXer Syndicated Linux News 0 05-23-2016 11:33 AM
Active Directory integration on CentOS 5.9 not working adam.hahn Linux - Server 3 07-29-2013 12:33 PM
CentOS and Active Directory Integration Dennis3 Linux - Server 3 06-20-2013 02:36 PM
Active Directory User integration with Samba fileserver in CentOS 5 sonjoyraha Linux - Server 2 05-25-2011 06:25 AM
Active Directory Integration ajaypulla Linux - Newbie 2 10-26-2010 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:31 PM.

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