LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-26-2010, 03:46 AM   #1
mdfakkeer
Member
 
Registered: Jul 2009
Location: India
Distribution: Fedora,ubuntu
Posts: 35

Rep: Reputation: Disabled
Question LDAP with apache2


i enabled LDAP authentication for group in apache2.2 is working fine. When i enabled sub group search using AuthLDAPSubGroupDepth 1 is showing error


Invalid command 'AuthLDAPSubGroupDepth', perhaps misspelled or defined by a module not included in the server configuration

here below the ldap coding for apache2 running in ubuntu 10.04

AuthzLDAPAuthoritative on
AuthType Basic
AuthName "xxxxx"
AuthBasicProvider ldap

AuthLDAPSubGroupDepth 1

AuthLDAPBindDN "CN=Username,CN=Users,DC=domainname,DC=co,DC=in"
AuthLDAPBindPassword password
AuthLDAPURL "ldap://ipaddressofserver:3268/DC=domainname,DC=co,DC=in?sAMAccountName?sub?(objectClass=*)"

Require ldap-group CN=groupname,CN=Users,DC=domainname,DC=co,DC=in

i checked with enabling the authnz ldap. it is working.

#a2enmod authnz_ldap
Considering dependency ldap for authnz_ldap:
Module ldap already enabled
Module authnz_ldap already enable


why the error showing. If any body knows please reply
 
Old 08-26-2010, 04:22 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,157
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Hi,

Looks like there is no such directive for apache version up to 2.2
Apache 2.3 has 2 AuthLDAPSubGroup* directives, but not the one you're trying to use. Besides I don't think you're using apache 2.3 as it's still on alpha release

Regards

*** EDIT ***
There is a AuthLDAPMaxSubGroupDepth in apache 2.3.x, so I guess the example here is wrong.

Last edited by bathory; 08-26-2010 at 07:07 AM. Reason: Additional info
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] ldap authorization fails: IHS7 (apache2)+php5+ldap olegk25 Linux - Networking 4 08-03-2010 02:49 AM
Apache2 - have to restart apache2 process every 10 mins to clear /tmp directory.... levi dehaan Linux - Software 8 09-01-2009 06:34 PM
Apache2 + LDAP Based user dirs tpe Linux - Server 0 11-21-2008 08:28 AM
RHEL5 to Windows CA, Apache2/LDAP BINDing adrianmarsh Red Hat 1 04-05-2008 04:07 AM
apache2 ldap hassan2 SUSE / openSUSE 1 04-12-2006 08:12 AM

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

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