Solved

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

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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DNS Question 7 69
Virtual host in apache 31 102
PHP Apache application gives "Forbidden" message 5 65
web server: redirect 123.domain.com to www.domain.com/123 16 37
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…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

792 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