Hello guys, I am having issues getting AD authentication to work with a SSL website I have published. I have Apache 2.4.6 on Cent OS 7. My httpd.conf file is pretty clean. Here below is a copy of my SSL Virtual Host site file. In the .htpasswd file there is a local user which works, but AD doesn't. I am trying to get an AD Group to work. Any help is appreciated.
Listen 443 https
<VirtualHost *:443>
SSLEngine On
SSLCertificateFile /etc/httpd/ssl/domain.example.local.crt
SSLCertificateKeyFile /etc/httpd/ssl/domain.example.local.key
ServerAdmin user@domain.org
DocumentRoot /var/www/opendcim
ServerName domain.example.local
<Directory /var/www/opendcim>
AllowOverride All
AuthType Basic
AuthName "openDCIM"
AuthBasicProvider file ldap
AuthUserFile /var/www/.htpasswd
AuthLDAPURL "ldap://dc.example.local:389/DC=domain,DC=local?sAMAccountName?sub?(objectClass=user)"
AuthLDAPBindDN "user@domain.local"
AuthLDAPBindPassword "passwordforuserabove"
require valid-user
Order Allow,Deny
Allow from All
</Directory>
</VirtualHost>
LDAP Apache 2.4.6 help
Re: LDAP Apache 2.4.6 help
I'd suggest starting at the LDAP side of things.
Can you bind to the LDAP server using the credentials in AuthLDAPBindDN and AuthLDAPBindPassword?
Can you search the search specified in AuthLDAPURL when you are bound as the user in AuthLDAPBindDN?
Can you bind to the LDAP server using the credentials in AuthLDAPBindDN and AuthLDAPBindPassword?
Can you search the search specified in AuthLDAPURL when you are bound as the user in AuthLDAPBindDN?