Solved

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

Posted on 2006-07-13
4
8,189 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

726 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