Apache, LDAP authentication help

Hello everyone,

I'm trying to get my web server to authenticate against Windows 2008 LDAP server but without any luck. I have an application that runs on an application server. The two ways of using it is via a Windows executable or via the web.

If I set a web server running Windows with IIS, everything works very well with SSO. However, I cannot get Apache to automatically log me in. SO far I tried apache mod_auth but without any luck.

Can any one help me? I know I'm not really clear but don't know what else to add.

Thank you all in advance

Fred

httpd.conf
Code:
<VirtualHost *:80>
DocumentRoot /var/www/html/kerbtest
ServerName gsdcodasso12.corp.u4agr.com
DirectoryIndex index.php
ServerSignature On
#SSLEngine on
#SSLProtocol all -SSLv2
#SSLCertificateFile /etc/httpd/conf/sslcrt/server.crt
#SSLCertificateKeyFile /etc/httpd/conf/sslcrt/server .key
<Directory /var/www/html/kerbtest>
Options Indexes FollowSymLinks MultiViews
Order allow,deny
Allow from all
</Directory>
<Location “/”>
AuthType Basic
AuthName gsdv12unix
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPBindDN “cn=test_apache,cn=Users,dc=linuxnix,dc=com”
AuthLDAPBindPassword UV4Ziu6v
AuthLDAPURL “ldap://dc.linuxnix.com:3268/dc=linuxnix,dc=com?sAMAccountName?sub?(objectClass=*)”
Require valid-users
</Location>
</VirtualHost>

I don't even get a prompt for a username and password
 
Once again, thank you for the pointer, @SirDice :)

I have none of the above loaded. I'll do that and post an update.
 
Last edited by a moderator:
No change. I also looked at the link above and they use .htaccess. I would like to use the krb5.keytab file that I already use on my app server.
 
Back
Top