Review your favorite Linux distribution.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 06-08-2006, 10:10 AM   #1
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
LDAP authentication from RHEL4 to AD

Howdy... my turn for a question.

I'm trying to set up ldap user authentication on a server and am not able to get logged in. I've go so far with the config and i can successfully bind to AD, find my desired user and try to rebind using that user account, however i can see from the tcpdumps of the traffic that ldap is trying to authenticate me with a valid DN but a password of "...INCORRECT" which is blatantly not what i'm typing in. i have the pam_password set to ad in the ldap.conf and i am using the right authentication schema, but that password just comes across as that odd, and clearly very deliberate, "INCORRECT" string. any clues if this is something with pam or what?

this is based on my understanding that you use a service account to find the desired user within ldap and then trying to access the directory again by authenticating with the given users credentials. I assume that the users password is never supposed to be passed into the client at all.

my ldap.conf looks like this here...
base OU=Admins,dc=example,dc=net
binddn CN=user,dc=example,dc=net
bindpw password
scope sub
nss_map_objectclass posixAccount user
nss_map_objectclass shadowAccount user
nss_map_attribute uid sAMAccountName
nss_map_objectclass posixGroup group
nss_map_attribute uniqueMember member
pam_login_attribute sAMAccountName
pam_filter objectclass=User
pam_password ad
ssl no

Last edited by acid_kewpie; 06-08-2006 at 02:27 PM.


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
RHEL4 authentication to Windows 2003 Active Directory rtkaczyk Linux - Enterprise 40 10-29-2007 07:27 PM
LDAP Authentication and su da_kidd_er Linux - Networking 1 12-27-2005 11:24 AM
Ldap Authentication joeyBig Programming 1 08-25-2004 10:00 AM
ldap authentication box_l Mandriva 0 03-22-2004 03:24 AM
LDAP Authentication Staceman Linux - Software 0 07-31-2003 08:14 AM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 09:43 PM.

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