summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorpettai <pettai@pkgsrc.org>2012-03-19 19:31:24 +0000
committerpettai <pettai@pkgsrc.org>2012-03-19 19:31:24 +0000
commit4e133030ccc7bbfe49c9377406124f8291cf7fc5 (patch)
treebdef298345ab646fdcdd27609b73779dd5a48f9d /security
parent4851f4f038490888eb1f720c10e1be56d94175b9 (diff)
downloadpkgsrc-4e133030ccc7bbfe49c9377406124f8291cf7fc5.tar.gz
pam-krb5 4.5
* Suppress the notice that the password is being changed because it's expired if force_first_pass or use_first_pass is set in the password stack, indicating that it's stacked with another module that's also doing password changes. This is arguable, but without this change the notification message of why the password is being changed shows up confusingly in the middle of the password change interaction. * Some old versions of Heimdal (0.7.2 in OpenBSD 4.9, specifically) reportedly return KRB5KDC_ERR_KEY_EXP for accounts with expired keys even if the supplied password is wrong. Work around this by confirming that the PAM module can obtain tickets for kadmin/changepw before returning a password expiration error instead of an invalid password error. * The location of the temporary root-owned ticket cache created during the authentication process is now also controlled by the ccache_dir option (but not the ccache option) rather than forced to be in /tmp. This will allow system administrators to configure an alternative cache directory so that pam-krb5 can continue working when /tmp is full. * Report more specific errors in syslog if authorization checks (such as .k5login checks) fail. * Pass a NULL principal to krb5_set_password with MIT client libraries to prefer the older change password protocol for compatibility with older KDCs. This is not necessary on Heimdal since Heimdal's krb5_set_password tries both protocols. * Improve logging and authorization checks when defer_pwchange is set and a user authenticates with an expired password. * When probing for Kerberos libraries, always add any supplemental libraries found to that point to the link command. This will fix configure failures on platforms without working transitive shared library dependencies. * Close some memory leaks where unparsed Kerberos principal names were never freed. * Restructure the code to work with OpenPAM's default PAM build machinery, which exports a struct containing module entry points rather than public pam_sm_* functions. * In debug logging, report symbolic names for PAM flags on PAM function entry rather than the numeric PAM flags. This helps with automated testing and with debugging PAM problems on different operating systems. * Include <krb5/krb5.h> if <krb5.h> is missing, which permits finding the header file on NetBSD systems. * Replace the Kerberos compatibility layer with equivalent but better-structured code from rra-c-util 4.0. * Avoid krb5-config and use manual library probing if --with-krb5-lib or --with-krb5-include were given to configure. This avoids having to point configure at a nonexistent krb5-config to override its results. * Use PATH_KRB5_CONFIG instead of KRB5_CONFIG to locate krb5-config in configure, to avoid a conflict with the variable used by the Kerberos libraries to find krb5.conf. * Change references to Kerberos v5 to just Kerberos in the documentation. * Update to rra-c-util 4.0 * Update to C TAP Harness 1.9
Diffstat (limited to 'security')
-rw-r--r--security/pam-krb5/Makefile5
-rw-r--r--security/pam-krb5/distinfo8
2 files changed, 6 insertions, 7 deletions
diff --git a/security/pam-krb5/Makefile b/security/pam-krb5/Makefile
index c05ffaf7432..125f2821fe7 100644
--- a/security/pam-krb5/Makefile
+++ b/security/pam-krb5/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2011/12/01 16:05:18 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2012/03/19 19:31:24 pettai Exp $
#
-DISTNAME= pam-krb5-4.4
+DISTNAME= pam-krb5-4.5
CATEGORIES= security
MASTER_SITES= http://archives.eyrie.org/software/kerberos/
@@ -15,7 +15,6 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-krb5-include=/usr/include/krb5
CPPFLAGS.NetBSD+= -DNO_STATIC_MODULES
diff --git a/security/pam-krb5/distinfo b/security/pam-krb5/distinfo
index d8f39caec84..329988ffbf0 100644
--- a/security/pam-krb5/distinfo
+++ b/security/pam-krb5/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/11/30 23:20:19 pettai Exp $
+$NetBSD: distinfo,v 1.2 2012/03/19 19:31:24 pettai Exp $
-SHA1 (pam-krb5-4.4.tar.gz) = 117ed0fd42cceac93d1d7a6801006bb13c098113
-RMD160 (pam-krb5-4.4.tar.gz) = 071ddf4d1e3c05da14702364f2300fbfd9f65d87
-Size (pam-krb5-4.4.tar.gz) = 394426 bytes
+SHA1 (pam-krb5-4.5.tar.gz) = 82fc9cf4820afc765ad236baf17e377353d1b2e7
+RMD160 (pam-krb5-4.5.tar.gz) = a1f6d2ba8067aa337f2ccb652d8cca554f551808
+Size (pam-krb5-4.5.tar.gz) = 504575 bytes