summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2007-11-27 08:27:06 +0000
committeradam <adam@pkgsrc.org>2007-11-27 08:27:06 +0000
commit028262906eabf2fe497048c3fbac4513bd417909 (patch)
tree1825c8623a4193f67a6d7516286a3d65284234a0 /security
parentae70fa459aabd5e5fc6b738e1405a8c86c32bbfb (diff)
downloadpkgsrc-028262906eabf2fe497048c3fbac4513bd417909.tar.gz
Changes 184:
* fix for BUG 312: pam_ldap does not try to reconnect when LDAP server closed the connection
Diffstat (limited to 'security')
-rw-r--r--security/pam-ldap/Makefile9
-rw-r--r--security/pam-ldap/PLIST4
-rw-r--r--security/pam-ldap/distinfo10
-rw-r--r--security/pam-ldap/patches/patch-ab24
4 files changed, 23 insertions, 24 deletions
diff --git a/security/pam-ldap/Makefile b/security/pam-ldap/Makefile
index c4c38d7582f..8b37435504c 100644
--- a/security/pam-ldap/Makefile
+++ b/security/pam-ldap/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.27 2007/01/15 03:24:03 taca Exp $
-#
+# $NetBSD: Makefile,v 1.28 2007/11/27 08:27:06 adam Exp $
-DISTNAME= pam_ldap-183
+DISTNAME= pam_ldap-184
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= security
-MASTER_SITES= ftp://ftp.padl.com/pub/
-MASTER_SITES+= http://www.padl.com/download/
+MASTER_SITES= ftp://ftp.padl.com/pub/ \
+ http://www.padl.com/download/
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.padl.com/pam_ldap.html
diff --git a/security/pam-ldap/PLIST b/security/pam-ldap/PLIST
index fd0680c1bb8..d6d527fe1c9 100644
--- a/security/pam-ldap/PLIST
+++ b/security/pam-ldap/PLIST
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2005/08/29 09:49:07 drochner Exp $
+@comment $NetBSD: PLIST,v 1.4 2007/11/27 08:27:06 adam Exp $
lib/security/pam_ldap.la
man/man5/pam_ldap.5
share/doc/pam-ldap/COPYING
share/doc/pam-ldap/COPYING.LIB
-share/examples/pam-ldap/pam_ldap.conf
share/examples/pam-ldap/ldapns.schema
share/examples/pam-ldap/ns-pwd-policy.schema
+share/examples/pam-ldap/pam_ldap.conf
@dirrm share/examples/pam-ldap
@dirrm share/doc/pam-ldap
diff --git a/security/pam-ldap/distinfo b/security/pam-ldap/distinfo
index 6359e753894..27523f8933d 100644
--- a/security/pam-ldap/distinfo
+++ b/security/pam-ldap/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2007/01/15 03:24:03 taca Exp $
+$NetBSD: distinfo,v 1.10 2007/11/27 08:27:06 adam Exp $
-SHA1 (pam_ldap-183.tar.gz) = a41ae31a32f84cc9add59e4ac7502fcc94f0eb04
-RMD160 (pam_ldap-183.tar.gz) = 42c8622677c44b521569b906b1cf53d0e605ed39
-Size (pam_ldap-183.tar.gz) = 127500 bytes
+SHA1 (pam_ldap-184.tar.gz) = 4fe29e57cc7f69eca3692fbaf88160aff2260939
+RMD160 (pam_ldap-184.tar.gz) = 00f08117c72ec3af3b1e32856ffeaf3a8768cde9
+Size (pam_ldap-184.tar.gz) = 128053 bytes
SHA1 (patch-aa) = 4fb701c85005106c2b3d9cf90590856e16b668ff
-SHA1 (patch-ab) = 1c1a13dccaab43b88565a03abe9b5706a6a2b54d
+SHA1 (patch-ab) = 32827157c9f037a13589f4c584e300ce71fe4130
diff --git a/security/pam-ldap/patches/patch-ab b/security/pam-ldap/patches/patch-ab
index 99363604827..1bccd75bd8f 100644
--- a/security/pam-ldap/patches/patch-ab
+++ b/security/pam-ldap/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.6 2007/01/15 03:24:03 taca Exp $
+$NetBSD: patch-ab,v 1.7 2007/11/27 08:27:06 adam Exp $
---- pam_ldap.c.orig Sun Oct 31 02:42:54 2004
-+++ pam_ldap.c Sun Oct 31 02:48:03 2004
+--- pam_ldap.c.orig 2007-08-12 18:35:00.000000000 +0200
++++ pam_ldap.c
@@ -131,12 +131,7 @@
#include "pam_ldap.h"
#include "md5.h"
@@ -15,7 +15,7 @@ $NetBSD: patch-ab,v 1.6 2007/01/15 03:24:03 taca Exp $
#ifndef HAVE_LDAP_MEMFREE
#define ldap_memfree(x) free(x)
-@@ -3137,7 +3132,7 @@
+@@ -3281,7 +3276,7 @@ pam_sm_authenticate (pam_handle_t * pamh
int rc;
const char *username;
char *p;
@@ -24,7 +24,7 @@ $NetBSD: patch-ab,v 1.6 2007/01/15 03:24:03 taca Exp $
int i;
pam_ldap_session_t *session = NULL;
const char *configFile = NULL;
-@@ -3158,6 +3153,8 @@
+@@ -3302,6 +3297,8 @@ pam_sm_authenticate (pam_handle_t * pamh
;
else if (!strcmp (argv[i], "debug"))
;
@@ -33,7 +33,7 @@ $NetBSD: patch-ab,v 1.6 2007/01/15 03:24:03 taca Exp $
else
syslog (LOG_ERR, "illegal option %s", argv[i]);
}
-@@ -3171,6 +3168,22 @@
+@@ -3315,6 +3312,22 @@ pam_sm_authenticate (pam_handle_t * pamh
return rc;
rc = pam_get_item (pamh, PAM_AUTHTOK, (CONST_ARG void **) &p);
@@ -56,7 +56,7 @@ $NetBSD: patch-ab,v 1.6 2007/01/15 03:24:03 taca Exp $
if (rc == PAM_SUCCESS && (use_first_pass || try_first_pass))
{
rc = _do_authentication (pamh, session, username, p);
-@@ -3419,11 +3432,11 @@
+@@ -3563,11 +3576,11 @@ pam_sm_chauthtok (pam_handle_t * pamh, i
{
_conv_sendmsg (appconv, "Password change aborted",
PAM_ERROR_MSG, no_warn);
@@ -72,7 +72,7 @@ $NetBSD: patch-ab,v 1.6 2007/01/15 03:24:03 taca Exp $
}
else
{
-@@ -3437,7 +3450,7 @@
+@@ -3581,7 +3594,7 @@ pam_sm_chauthtok (pam_handle_t * pamh, i
if (curpass == NULL)
return PAM_MAXTRIES; /* maximum tries exceeded */
else
@@ -81,7 +81,7 @@ $NetBSD: patch-ab,v 1.6 2007/01/15 03:24:03 taca Exp $
}
else
{
-@@ -3465,11 +3478,11 @@
+@@ -3609,11 +3622,11 @@ pam_sm_chauthtok (pam_handle_t * pamh, i
syslog (LOG_ERR,
"pam_ldap: error getting old authentication token (%s)",
pam_strerror (pamh, rc));
@@ -97,7 +97,7 @@ $NetBSD: patch-ab,v 1.6 2007/01/15 03:24:03 taca Exp $
}
if (try_first_pass || use_first_pass)
-@@ -3479,11 +3492,11 @@
+@@ -3623,11 +3636,11 @@ pam_sm_chauthtok (pam_handle_t * pamh, i
newpass = NULL;
if (use_first_pass && newpass == NULL)
@@ -113,7 +113,7 @@ $NetBSD: patch-ab,v 1.6 2007/01/15 03:24:03 taca Exp $
}
tries = 0;
-@@ -3533,11 +3546,11 @@
+@@ -3677,11 +3690,11 @@ pam_sm_chauthtok (pam_handle_t * pamh, i
}
else
{
@@ -129,7 +129,7 @@ $NetBSD: patch-ab,v 1.6 2007/01/15 03:24:03 taca Exp $
}
if (cmiscptr == NULL)
-@@ -3569,11 +3582,11 @@
+@@ -3713,11 +3726,11 @@ pam_sm_chauthtok (pam_handle_t * pamh, i
{
_conv_sendmsg (appconv, "Password change aborted",
PAM_ERROR_MSG, no_warn);