Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Apache Basic Ldap Auth |
|
Author |
|
vkmellon
Joined: 19 Aug 2016 Posts: 2 Location: Kyiv
|
Posted: Thu 08 Sep '16 8:21 Post subject: Apache Basic Ldap Auth |
|
|
Hi
I need help with configuring Apache 2.4 on CentOS.
You can my see Auth config below.
I am able to log in with "username" without domain suffixes, but I need to log in using domain\user.
Apache in my case is back end, and front-end is Nginx which publish my Apache web page.
Maybe I am able to replace Username in Nginx.
Thank you for help!
Code: | <Location /test>
Order deny,allow
Allow from all
AuthName example
AuthType basic
AuthBasicProvider ldap
AuthLDAPUrl ldap://dc.example.com:389/dc=example,dc=com?sAMAccountName?sub?(objectClass=*)
AuthLDAPBindDN testuser@example.com
AuthLDAPBindPassword "Password"
Require valid-user
</Location> |
|
|
Back to top |
|
|
|
|
|
|