Solved

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

Posted on 2006-07-13
4
8,163 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
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 …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 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