summaryrefslogtreecommitdiff
path: root/security/pam-krb5
diff options
context:
space:
mode:
authorpettai <pettai@pkgsrc.org>2012-06-16 22:15:23 +0000
committerpettai <pettai@pkgsrc.org>2012-06-16 22:15:23 +0000
commitb1d9ddffcf1c77677fbd5549367d10cea8f9f423 (patch)
tree191415bd1a977a460c6f338d91d6a27e61e150d9 /security/pam-krb5
parentc9399c2f6c8cfaee41395260720b89d2f1dc173d (diff)
downloadpkgsrc-b1d9ddffcf1c77677fbd5549367d10cea8f9f423.tar.gz
pam-krb5 4.6
* Add an anon_fast option that attempts anonymous authentication (generally implemented via anonymous PKINIT inside the Kerberos library) and then, if successful, uses those credentials for FAST armor. If fast_ccache and anon_fast are both specified, anonymous authentication will be used as a fallback if the specified FAST ticket cache doesn't exist. Based on patches from Yair Yarom. * Add a user_realm option to only set the realm for unqualified user principals. This differs from the existing realm option in that realm also changes the default realm for authorization decisions and for verification of credentials. Update the realm option documentation to clarify the differences and remove incorrect information. Patch from Roland C. Dowdeswell. * Add a no_prompt option to suppress the PAM module's prompt for the user's password and defer all prompting to the Kerberos library. This allows the Kerberos library to have complete control of the prompting process, which may be desireable if authentication mechanisms other than password are in use. Be aware that, with this option set, the PAM module has no control over the contents of the prompt and cannot store the user's password in the PAM data. Based on a patch by Yair Yarom. * Add a silent option to force the module to behave as if the application had passed in PAM_SILENT and suppress text messages and errors from the Kerberos library. Patch from Yair Yarom. * Add preliminary support for Kerberos trace logging via a trace option that enables trace logging if supported by the underlying Kerberos library. The option takes as an argument the file name to which to log trace output. This option does not yet work with any released version of Kerberos, but may work with the next release of MIT Kerberos. * MIT Kerberos does not add a colon and space to its password prompts, but Heimdal does. pam-krb5 previously unconditionally added a colon and space, resulting in doubled colons with Heimdal. Work around this inconsistency by not adding the colon and space if already present. * Fix alt_auth_map support to preserve the realm of the authentication identity when forming the alternate authentication principal, matching the documentation. * Document that the alt_auth_map format may contain a realm to force all mapped principals to be in that realm. In that case, don't add the realm of the authentication identity. Note that this can be used as a simple way to attempt authentication in an alternate realm first and then fall back to the local realm, although any complex attempt at authentication in multiple realms should instead run the module multiple times with different realm settings. * Avoid a NULL pointer dereference if krb5_init_context fails. * Fix initialization of time values in the module configuration on platforms (like S/390X) where krb5_deltat is not equivalent to long. * Close a memory leak when search_k5login is set but the user has no .k5login file. * Close several memory leaks in alt_auth_map support. * Suppress bogus error messages about unknown option for the realm option. The option was being parsed and honored despite the error. * Retry authentication under try_first_pass on several other errors in addition to decrypt integrity check errors to handle a wider array of possible "password incorrect" error messages from the KDC. * Update to rra-c-util 4.4: * Update to C TAP Harness 1.12:
Diffstat (limited to 'security/pam-krb5')
-rw-r--r--security/pam-krb5/Makefile4
-rw-r--r--security/pam-krb5/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/security/pam-krb5/Makefile b/security/pam-krb5/Makefile
index 18925342978..5c07b0a9194 100644
--- a/security/pam-krb5/Makefile
+++ b/security/pam-krb5/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2012/03/20 16:27:40 dholland Exp $
+# $NetBSD: Makefile,v 1.6 2012/06/16 22:15:23 pettai Exp $
#
-DISTNAME= pam-krb5-4.5
+DISTNAME= pam-krb5-4.6
CATEGORIES= security
MASTER_SITES= http://archives.eyrie.org/software/kerberos/
diff --git a/security/pam-krb5/distinfo b/security/pam-krb5/distinfo
index 329988ffbf0..71beb6bb239 100644
--- a/security/pam-krb5/distinfo
+++ b/security/pam-krb5/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2012/03/19 19:31:24 pettai Exp $
+$NetBSD: distinfo,v 1.3 2012/06/16 22:15:23 pettai Exp $
-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
+SHA1 (pam-krb5-4.6.tar.gz) = d96b018eda3bd269dcb57f4ecee4898afb5c4369
+RMD160 (pam-krb5-4.6.tar.gz) = 9edec20d6999112c5eeb436df1d58f3368593164
+Size (pam-krb5-4.6.tar.gz) = 528901 bytes