Hi
We're trying to get LDAP authentication to work on our Apache server
(running on an installation of SUSE Linux Professional 9.2).
We can see that the modules ldap and auth_ldap are supplied as precompiled
modules in the apache2-prefork folders.
We have enabled the Apache modules in the YAST (in the HTTP Server module
of YAST) and everything seems to work fine - the modules get registrered as
loaded in the /etc/apache2/sysconfig.d/loadmodule.conf once the Apache
server is restarted.
But: as soon as we put some LDAP authentication lines in the
part of the httpd.conf file, we get errors when trying to restart Apache.
We try to insert the following lines in the part of httpd.conf:
Restarting Apache with the following lines inserted in httpd.conf gets us the following error:
Hopefully someone out there has a tip to what needs to be corrected/changed?
Best
Rasmus Wehner
ROSA - The Danish Rock Council
Denmark
We're trying to get LDAP authentication to work on our Apache server
(running on an installation of SUSE Linux Professional 9.2).
We can see that the modules ldap and auth_ldap are supplied as precompiled
modules in the apache2-prefork folders.
We have enabled the Apache modules in the YAST (in the HTTP Server module
of YAST) and everything seems to work fine - the modules get registrered as
loaded in the /etc/apache2/sysconfig.d/loadmodule.conf once the Apache
server is restarted.
But: as soon as we put some LDAP authentication lines in the
part of the httpd.conf file, we get errors when trying to restart Apache.
We try to insert the following lines in the part of httpd.conf:
Code:
<directory /srv/[URL unfurl="true"]www/cgi-bin>[/URL]
AuthType Basic
AuthName "BackupPC"
LDAP_Server 192.168.1.23
LDAP_Port 389
Base_DN "dc=example,dc=com"
UID_attr uid
AuthAuthoritative on
Require valid-user
</directory>
Restarting Apache with the following lines inserted in httpd.conf gets us the following error:
Syntax error on line 213 of /etc/apache2/httpd.conf:
Invalid command 'LDAP_Server', perhaps mis-spelled or defined by a module not included in the server configuration
Hopefully someone out there has a tip to what needs to be corrected/changed?
Best
Rasmus Wehner
ROSA - The Danish Rock Council
Denmark