logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.4.6 AD Authentication Help.
Author
pixa241



Joined: 16 Aug 2015
Posts: 1

PostPosted: Sun 16 Aug '15 20:44    Post subject: Apache 2.4.6 AD Authentication Help. Reply with quote

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)" STARTTLS
AuthLDAPBindDN user@domain.local
AuthLDAPBindPassword passwordforuserabove
require valid-user
Order Allow,Deny
Allow from All
</Directory>
</VirtualHost>
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 15 Sep '15 17:28    Post subject: Reply with quote

Your url starts with

ldap:

but it should be

ldaps:
Back to top


Reply to topic   Topic: Apache 2.4.6 AD Authentication Help. View previous topic :: View next topic
Post new topic   Forum Index -> Apache