LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-03-2009, 03:51 PM   #1
michaelux
LQ Newbie
 
Registered: Mar 2007
Posts: 17

Rep: Reputation: 0
Auth apache using htaccess with a active directory server


Hi all.

I have 2 days searching for how to configure my htaccess to log in with a active directory server...

I have centos, I have tried many ways but always get the error:

Code:
[client A.A.A.A] [28503] auth_ldap authenticate: user XXXX authentication failed; URI / [LDAP: ldap_simple_bind_s() failed][Invalid credentials]
[Thu Dec 03 15:47:58 2009] [error] [client A.A.A.A] user XXXX: authentication failure for "/": Password Mismatch

My htaccess is:

Code:
AuthName "NAME"
AuthType Basic
AuthBasicProvider ldap
AuthLDAPBindDN "cn=my user name or name,cn=Users, dc=dominio,dc=com"
AuthLDAPBindPassword a123456
AuthLDAPURL "ldap://A.B.C.D:389/ou= Name, ou=Users, dc=dominio,dc=com"
require valid-user
I installed mod_auth_ldap for apache, but I dont know what is wrong with my configuration, I have tried other optiones but it is the same error.

How can I test with ldapsearch? , I think i dont need openladp server, need I?

I want authenticate the users by login name,, username, what should I to put? :s

thanks
 
  


Reply



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
linux auth active directory tumza Linux - Newbie 1 02-12-2009 07:09 AM
Problem with PPTP server using active directory for auth avantman42 Linux - Server 1 08-07-2007 04:55 AM
Active Directory Auth via Kerb, How to mount a network home? greslore Linux - General 0 01-31-2007 02:44 PM
Problem with LDAP auth and Active Directory Ryan100 Red Hat 1 10-27-2006 03:50 PM
ladp auth from windows active directory kjsubbu Linux - Networking 1 07-18-2005 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:42 PM.

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