aboutsummaryrefslogtreecommitdiff
path: root/security/pam_ldap/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-07-26 02:22:27 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-07-26 02:22:27 +0000
commit73e86626309cbf51c53cc6f338b8e37e8bea6a43 (patch)
tree90fdcbb958ee5bedee3c7ef0f4ace18d7af16490 /security/pam_ldap/files
parent3fe1aebfef9c687c543953d39b5e686aa8cf6dce (diff)
downloadports-73e86626309cbf51c53cc6f338b8e37e8bea6a43.tar.gz
ports-73e86626309cbf51c53cc6f338b8e37e8bea6a43.zip
Notes
Diffstat (limited to 'security/pam_ldap/files')
-rw-r--r--security/pam_ldap/files/patch-ab20
1 files changed, 9 insertions, 11 deletions
diff --git a/security/pam_ldap/files/patch-ab b/security/pam_ldap/files/patch-ab
index 5954ba8511e0..1a5dd09a4c2e 100644
--- a/security/pam_ldap/files/patch-ab
+++ b/security/pam_ldap/files/patch-ab
@@ -1,12 +1,10 @@
-$FreeBSD$
-
---- pam_ldap.c.orig Mon Mar 25 15:54:28 2002
-+++ pam_ldap.c Mon Mar 25 15:54:29 2002
+--- pam_ldap.c.orig Thu Jul 25 22:15:52 2002
++++ pam_ldap.c Thu Jul 25 22:20:11 2002
@@ -126,12 +126,7 @@
#include "pam_ldap.h"
#include "md5.h"
--#ifdef HAVE_SECURITY_PAM_MISC_H
+-#if defined(HAVE_SECURITY_PAM_MISC_H) || defined(HAVE_PAM_PAM_MISC_H)
- /* FIXME: is there something better to check? */
#define CONST_ARG const
-#else
@@ -15,7 +13,7 @@ $FreeBSD$
#ifndef HAVE_LDAP_MEMFREE
#define ldap_memfree(x) free(x)
-@@ -2843,11 +2838,11 @@
+@@ -2898,11 +2893,11 @@
{
_conv_sendmsg (appconv, "Password change aborted",
PAM_ERROR_MSG, no_warn);
@@ -27,11 +25,11 @@ $FreeBSD$
-#endif /* PAM_AUTHTOK_RECOVERY_ERR */
+#else
+ return PAM_AUTHTOK_RECOVERY_ERR;
-+#endif /* PAM_AUTHTOK_RECOVER_ERR */
++#endif
}
else
{
-@@ -2887,11 +2882,11 @@
+@@ -2942,11 +2937,11 @@
syslog (LOG_ERR,
"pam_ldap: error getting old authentication token (%s)",
pam_strerror (pamh, rc));
@@ -47,7 +45,7 @@ $FreeBSD$
}
if (try_first_pass || use_first_pass)
-@@ -2901,11 +2896,11 @@
+@@ -2956,11 +2951,11 @@
newpass = NULL;
if (use_first_pass && newpass == NULL)
@@ -63,7 +61,7 @@ $FreeBSD$
}
tries = 0;
-@@ -2955,11 +2950,11 @@
+@@ -3010,11 +3005,11 @@
}
else
{
@@ -79,7 +77,7 @@ $FreeBSD$
}
if (cmiscptr == NULL)
-@@ -2991,11 +2986,11 @@
+@@ -3046,11 +3041,11 @@
{
_conv_sendmsg (appconv, "Password change aborted",
PAM_ERROR_MSG, no_warn);