LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-06-2016, 01:16 PM   #1
moonsun1124
LQ Newbie
 
Registered: Sep 2016
Posts: 2

Rep: Reputation: Disabled
http.conf LDAP authentication


Hi All, I am new to LDAP. I am trying to set LDAP authentication for web applications (CGI Script).

Order deny,allow
Deny from All
AuthType Basic
AuthName "Security"
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthLDAPURL ldap://ldap-corporate/o=homedepot.com,c=US?uid?sub
AuthLDAPBindDN "cn=SC HelpDesk,o=homedepot.com"
AuthLDAPBindPassword secret1
AuthLDAPGroupAttribute uniquemember
AuthLDAPGroupAttributeIsDN off
Require ldap-group cn=SC HelpDesk,o=homedepot.com,c=US
Satisfy any

After adding the above code. Authentication page is coming when I give the credentials it is giving error saying "LDAP id is not found".

Please help me.

Thanks,
Chaitaya
 
Old 09-07-2016, 11:38 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
ldapsearch is your new friend. Learn it. Get ldapsearch to work and then apache auth should be easy.

**Require ldap-group cn=SC HelpDesk,o=homedepot.com,c=US**

Is that really a group? Because above that you are using it as a search login.

Are you logging requests?

Last edited by mpapet; 09-07-2016 at 11:40 PM.
 
  


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
[LDAP] -Setup Ldap for user authentication based on time trung1490 Linux - Server 1 02-23-2016 12:53 PM
[SOLVED] LDAP authentication error [Can't contact LDAP server] from apache httpd jonathan_w_brown Linux - Server 6 12-28-2011 05:30 PM
Authentication Failure in LDAP after the Modification of ldap to ldaps url vijith.pa@gmail.com Linux - Newbie 3 06-03-2011 05:30 AM
[SOLVED] Apache authentication: allow LDAP group OR user named guest, but not all LDAP users AlucardZero Linux - Server 1 05-25-2011 03:21 PM
IBM Http server with ldap authentication Rinish Linux - Networking 1 06-16-2005 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:33 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