Howto Ldap Auth: Difference between revisions
From Pumping Station One
No edit summary |
No edit summary |
||
| Line 80: | Line 80: | ||
ldapsearch -ZZ -v -x -H ldap://bob.ad.pumpingstationone.org -b "CN=Users,DC=ad,DC=pumpingstationone,DC=org" -D "PS1\myuser" -W "CN=Domain Admins" | ldapsearch -ZZ -v -x -H ldap://bob.ad.pumpingstationone.org -b "CN=Users,DC=ad,DC=pumpingstationone,DC=org" -D "PS1\myuser" -W "CN=Domain Admins" | ||
== Apache | == Apache mod_authnz_ldap == | ||
The following example is useful for making members-only sites and web apps | The following example is useful for making members-only sites and web apps. See https://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html for additional information. You will also need to enable the mod_authnz_ldap and mod_ldap apache modules. | ||
#Very important, Don't bind in cleartext. Can't be defined as part of your location or directory block, so make sure you don't skip it. | #Very important, Don't bind in cleartext. Can't be defined as part of your location or directory block, so make sure you don't skip it. | ||