Solved

LDAP + APACHE + Active Directory ==>[LDAP: ldap_simple_bind_s() failed][Invalid Credentials]

Posted on 2006-07-13
4
8,141 Views
Last Modified: 2011-01-24
Hello Kind Person,

I am trying to use auth_ldap and apache (2.0.58) on a windows machine to authenticate to a active directory, BUT I am getting the following error in the log:

[Thu Jul 13 15:09:29 2006] [warn] [client 129.6.84.222] [5224] auth_ldap authenticate: user kkwiatek authentication failed; URI /myproject [LDAP: ldap_simple_bind_s() failed][Invalid Credentials]

[Thu Jul 13 15:09:41 2006] [warn] [client 129.6.84.222] [5224] auth_ldap authenticate: user testbusobj authentication failed; URI myproject [LDAP: ldap_simple_bind_s() failed][Invalid Credentials]



my httpd.conf looks like :

AuthLDAPURL ldaps://campus.school.edu:389/dc=campus,dc=school,dc=edu?samAccountName?sub?(objectCategory=person)
AuthLDAPBindDN "CN=myldapuser,dc=campus,dc=school,dc=edu"
AuthLDAPBindPassword abcd1234

I can do the following successfully:
ldifde -f search.ldf -s campus -d dc=campus,dc=school,dc=edu -b myldapuser domain abcd1234

ANY IDEAS on how to trouble shoot? HOW can I figure out what auth_ldap is sending to AD?

Thanks,
Keith
0
Comment
Question by:keithedward
4 Comments
 
LVL 57

Accepted Solution

by:
giltjr earned 63 total points
ID: 17109106
Install a packet capture utility and capture the packets.  I would suggest Wireshark, http://www.wireshark.org.
0
 
LVL 23

Assisted Solution

by:rama_krishna580
rama_krishna580 earned 62 total points
ID: 17112476
Hi,

it seems like you don't have enough permissions on LDAP to proceed, so check your credidentials and try again.

R.K
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now