LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-01-2012, 11:27 AM   #1
thehouseofho
LQ Newbie
 
Registered: Jun 2012
Distribution: Mostly Debian
Posts: 28

Rep: Reputation: Disabled
Local users unable to log in after configuring winbind/pam.d


Hello all,

I have recently configured my first server with winbind/pam.d for domain authentication and I'm having a frustrating issue that I hope someone here will be able to help me with.

I don't have any issues SSHing to the server with domain accounts that have been granted access, but no local accounts are able to gain access even though they have been specified in /etc/security/access.conf -- including root. Local accounts are also unable to login via console, telnet or FTP.

When I attempt to SSH to the server as root, after providing the password, the connection is closed by the server. There are no restrictions for the root account.

Looking through /etc/security/auth.log, I see the following two lines:

Jun 1 12:16:07 devwinbind sshd[17504]: Failed password for root from xxx.xxx.xxx.xxx port 53998 ssh2
Jun 1 12:16:07 devwinbind sshd[17504]: fatal: Access denied for user root by PAM account configuration [preauth]

The first line is definitely incorrect as I have made the root password extremely simple and I know I am typing it correctly.

Luckily, I granted my domain account sudo access, so I am still able to make any config changes. However, I would like to be able to work through this issue and be able to log in as root.

Has anyone seen this type of behavior before? Any help would be greatly appreciated.

Edit: I should also mention I am using '+' as a domain separator and not using the default domain in winbind so root is not being passed through as DOMAIN+root.

Last edited by thehouseofho; 06-01-2012 at 11:29 AM. Reason: Providing more information
 
Old 06-02-2012, 03:49 AM   #2
centos123
Member
 
Registered: Apr 2011
Posts: 397

Rep: Reputation: 16
are you configuring for window and linux?
 
Old 06-02-2012, 01:24 PM   #3
thehouseofho
LQ Newbie
 
Registered: Jun 2012
Distribution: Mostly Debian
Posts: 28

Original Poster
Rep: Reputation: Disabled
yes, i am configuring a debian server to use active directory credentials to control access to the debian server. the active directory credentials are working fine, but none of the local accounts -- such as root -- are unable to login. su - also does not work even though i am typing the password correctly.
 
  


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
[SOLVED] Can't get auth token for non-local users with PAM module commx Programming 8 05-22-2012 02:15 PM
PAM/NSS: Local & Global users synchronization problem Mareq Linux - Security 0 10-22-2011 07:05 AM
How do I give windows domain users local admin rights - WINBIND basilwt Linux - Networking 1 03-16-2007 11:53 PM
winbind without PAM Gort32 Slackware 0 12-16-2005 10:00 AM
Unable to authenticate users from PDC using winbind MediMania Linux - Networking 0 12-12-2005 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:47 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