summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorkleink <kleink@pkgsrc.org>2000-12-14 12:27:51 +0000
committerkleink <kleink@pkgsrc.org>2000-12-14 12:27:51 +0000
commit5f073ab9aa61cd607813867b41eb54deb6d63c50 (patch)
tree927dc21ed96284beb425b89f70d16684aa75122e /www
parenta871a49684c3906412b353952df078fda5b50cda (diff)
downloadpkgsrc-5f073ab9aa61cd607813867b41eb54deb6d63c50.tar.gz
Update ap-auth-ldap to 1.5.2; changelog excerpt below.
Changes Between Major Revisions Changes from 1.4 to 1.6 * All changes and bugfixes in the 1.4 releases. * Completely rewrote the LDAP caching algorithms (see [1]the documentation on caching for more information). Here are the highlights of the changes: + All cache sizes are measured in terms of cache entries. Warning!! This affects the AuthLDAPCacheSize directive!! In version 1.4 and before, this directive specified the size in megabytes. Now, it specifies the size in cache entri es. If you currently have this directive in a config file, it is probably set way too high, and will use a significant amount of server memory. + Deprecated the AuthLDAPCacheCompareOps directive. Apache will still accept the directive, but it has no effect, other than to generate a warning in the Apache logs. + The cache no longer grows without bounds. For servers with a very active cache, this should make a big difference with memory usage. + No longer use the cache management routines from the LDAP SDK. All LDAP operations are now cached, using a cache that's specially designed for auth_ldap's authentication methods. + If Apache has been compiled with MM support and auth_ldap has been compiled with -DWITH_SHARED_LDAP_CACHE then the cache is shared across all server instances. + Added a content handler that can be used to display the cache statistics. To use it, add the following directives: <Location /server/auth-ldap-info> SetHandler auth-ldap-info </Location> * Added support for a require dn directive, and a AuthLDAPCompareDNOnServer directive. See the documentation for more information. * auth_ldap now allows the user to specify any attribute when checking for group membership, by using the AuthLDAPGroupAttribute directive. If this directive is not specified, the default continues to be member and uniqueMember. Patch courtesy of Graham Leggett. * Added another directive, AuthLDAPGroupAttributeIsDN, which says whether to use the DN that was retrieved from the LDAP search, or to use the username passed by the client when doing group authorization. This directive, in conjuction with the previous one, allows us to use things like posixGroups for checks: AuthLDAPGroupAttribute memberuid AuthLDAPGroupAttributeIsDN off * Ensure that auth_ldap will follow referrals under OpenLDAP. This behavior was turned off in previous versions. * Allow auth_ldap to dereference aliases, using the new AuthLDAPDereferenceAliases directive. By default, this directive is set to always. * Now use ldap_init() when using OpenLDAP. Unless your OpenLDAP is really old, this probably won't affect you.
Diffstat (limited to 'www')
-rw-r--r--www/ap-auth-ldap/Makefile11
-rw-r--r--www/ap-auth-ldap/files/md54
-rw-r--r--www/ap-auth-ldap/pkg/PLIST3
3 files changed, 11 insertions, 7 deletions
diff --git a/www/ap-auth-ldap/Makefile b/www/ap-auth-ldap/Makefile
index a6cfe7ef0c4..a5f90e43d4a 100644
--- a/www/ap-auth-ldap/Makefile
+++ b/www/ap-auth-ldap/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2000/09/05 09:33:17 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2000/12/14 12:27:51 kleink Exp $
-DISTNAME= auth_ldap-1.4.2
-PKGNAME= ap-auth-ldap-1.4.2
+DISTNAME= auth_ldap-1.5.2
+PKGNAME= ap-auth-ldap-1.5.2
CATEGORIES= www databases
MASTER_SITES= http://www.rudedog.org/auth_ldap/
@@ -19,11 +19,14 @@ do-build:
-D WITH_OPENLDAP \
-I ${LOCALBASE}/include \
-L ${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lldap -llber \
- auth_ldap.c auth_ldap_cache.c auth_ldap_config.c
+ auth_ldap.c auth_ldap_cache.c auth_ldap_cache_mgr.c \
+ auth_ldap_config.c
do-install:
@cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i auth_ldap.so
-${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_ldap
+ ${INSTALL_DATA} ${WRKSRC}/FAQ.html \
+ ${PREFIX}/share/doc/mod_auth_ldap
${INSTALL_DATA} ${WRKSRC}/auth_ldap.html \
${PREFIX}/share/doc/mod_auth_ldap
${INSTALL_DATA} ${WRKSRC}/future-directions.html \
diff --git a/www/ap-auth-ldap/files/md5 b/www/ap-auth-ldap/files/md5
index 13a697f079c..7d0b97ca597 100644
--- a/www/ap-auth-ldap/files/md5
+++ b/www/ap-auth-ldap/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.1.1.1 2000/05/30 13:58:49 kleink Exp $
+$NetBSD: md5,v 1.2 2000/12/14 12:27:52 kleink Exp $
-MD5 (auth_ldap-1.4.2.tar.gz) = 0b36299b1e0fac044d1785c03544fb07
+MD5 (auth_ldap-1.5.2.tar.gz) = 8b1bdbff2c5210fc2f9a7d47a424e814
diff --git a/www/ap-auth-ldap/pkg/PLIST b/www/ap-auth-ldap/pkg/PLIST
index 107f16e80e2..782b804cb82 100644
--- a/www/ap-auth-ldap/pkg/PLIST
+++ b/www/ap-auth-ldap/pkg/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2000/05/30 13:58:50 kleink Exp $
+@comment $NetBSD: PLIST,v 1.2 2000/12/14 12:27:52 kleink Exp $
lib/httpd/auth_ldap.so
+share/doc/mod_auth_ldap/FAQ.html
share/doc/mod_auth_ldap/auth_ldap.html
share/doc/mod_auth_ldap/future-directions.html
@dirrm share/doc/mod_auth_ldap