summaryrefslogtreecommitdiff
path: root/files/modules.d/46_mod_ldap.conf
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2008-04-29 08:29:21 +0000
committerandreas <andreas@immerda.ch>2008-04-29 08:29:21 +0000
commit98450dcb5690df65c5ffda008a1831c06ea98796 (patch)
treea6a079a9e866f225aa5c23325ce806e664d84f73 /files/modules.d/46_mod_ldap.conf
parent5029886217a61e9abeeb9ac27ace68a06287b51e (diff)
more default files
Diffstat (limited to 'files/modules.d/46_mod_ldap.conf')
-rw-r--r--files/modules.d/46_mod_ldap.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/files/modules.d/46_mod_ldap.conf b/files/modules.d/46_mod_ldap.conf
new file mode 100644
index 0000000..837bc6e
--- /dev/null
+++ b/files/modules.d/46_mod_ldap.conf
@@ -0,0 +1,29 @@
+# Examples below are taken from the online documentation
+# Refer to:
+# http://localhost/manual/mod/mod_ldap.html
+# http://localhost/manual/mod/mod_auth_ldap.html
+<IfDefine LDAP>
+<IfModule ldap_module>
+LDAPSharedCacheSize 200000
+LDAPCacheEntries 1024
+LDAPCacheTTL 600
+LDAPOpCacheEntries 1024
+LDAPOpCacheTTL 600
+
+<Location /ldap-status>
+ SetHandler ldap-status
+ Order deny,allow
+ Deny from all
+ Allow from 127.0.0.1
+</Location>
+</IfModule>
+</IfDefine>
+
+<IfDefine AUTHNZ_LDAP>
+<IfModule authnz_ldap_module>
+ #AuthLDAPURL ldap://ldap1.airius.com:389/ou=People, o=Airius?uid?sub?(objectClass=*)
+ #require valid-user
+</IfModule>
+</IfDefine>
+
+# vim: ts=4 filetype=apache