LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2007, 11:31 AM   #1
elisapa
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Question Authentecate apache with windows 2003 ldap


hello all,
i am trying to make apache to authenticate with windows 2003 ldap.
my httpd.conf (important stuff)
<Directory />
Options All ExecCGI -Indexes
Order allow,deny
Allow from all
AuthLDAPAuthoritative on
# Do basic password authentication in the clear
AuthType Basic
# The name of the protected area or "realm"
AuthName "Domain Name"
# Active Directory requires an authenticating DN to access records
AuthLDAPBindDN cn=user,cn=OS,cn=Linux,cn=Users,dc=domain,dc=com
# This is the password for the AuthLDAPBindDN user in Active Directory
AuthLDAPBindPassword 123
# The LDAP query URL
AuthLDAPURL "ldap://domain.com:389/cn=OS,cn=Linux,cn=Users,dc=domain,dc=com?sAMAccountName?sub?(objectClass=*)"
</Directory>

# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/var/www/html">
AuthName "Special User Area"
require user username1 username2
</Directory>

i have httpd-2.0.52-32.ent
i load the correct modules

when i surf it shows the login box but i cant login ...
[Tue Sep 25 09:51:11 2007] [warn] [client 10.0.0.1] [1991] auth_ldap authenticate: user user1 authentication failed; URI / [LDAP: ldap_simple_bind_s() failed][Invalid credentials]

but the password is ok ....

the user is located in a ou inside a ou inside a ou .. thats why i have
AuthLDAPBindDN cn=user,cn=OS,cn=Linux,cn=Users,dc=domain,dc=com
what might be the problem ???

tnx ...
 
Old 11-08-2007, 05:55 PM   #2
mrcoffee11
LQ Newbie
 
Registered: Jul 2006
Posts: 18

Rep: Reputation: 0
Did you solve this issue? I want to authenticate to an AD group and I can not seem to find the right setup for this.

Cheers
 
  


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
HOW TO: SUSE Linux Enterprise Desktop SLED10 LDAP / Kerberos Authentication to Active Directory / Windows Server 2003 R2 Shannon_VanWagner LinuxAnswers Discussion 2 06-13-2007 09:29 AM
HOW TO: SUSE Linux Enterprise Desktop SLED10 LDAP / Kerberos Authentication to Active Directory / Windows Server 2003 R2 Shannon_VanWagner LinuxAnswers Discussion 0 03-23-2007 02:22 PM
Easy LDAP connection from a Red Hat 4 Enterprise WS to a Windows 2003 AD mambley Linux - Security 1 12-31-2006 03:57 PM
Install LDAP on SLES to authenticate with Novell Netware 6 and Windows 2003 server BigBugs Linux - Enterprise 0 10-26-2006 09:50 AM
redhat as 3.0 and windows 2003 ldap xn85turbo Linux - General 3 12-05-2004 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:24 AM.

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