Hey guys,
Having some problems setting up ldap authentication with apache 2.2,
something that worked previously with 2.0. I have the following setup:
[ebuild R ] www-servers/apache-2.2.6 USE="ldap ssl -debug -doc -mpm-event
-mpm-itk -mpm-peruser -mpm-prefork -mpm-worker -no-suexec (-selinux)
-static-modules -threads" 0 kB

[ebuild R ] dev-libs/apr-util-1.2.10 USE="berkdb gdbm ldap -doc -mysql
-postgres -sqlite -sqlite3" 0 kB

And in /etc/conf.d/apache2:
APACHE2_OPTS="-D DEFAULT_VHOST -D FCGID -D USERDIR -D PHP5 -D LDAP -D
AUTH_LDAP"


However, when I add the following to a vhost:
AuthType Basic
AuthName "blah"
AuthLDAPEnabled on
AuthLDAPURL "ldap://ldap_ip/ou=People,dc=mydomain,dc=com?uid?one";
AuthLDAPGroupAttribute memberUid
AuthLDAPGroupAttributeIsDN off
Require valid-user

I get the following error:
Invalid command 'AuthLDAPEnabled', perhaps misspelled or defined by a module
not included in the server configuration

What do I need to do to set this up with apache 2.2?

-- 
Derek Bodner
[EMAIL PROTECTED]

Reply via email to