components/krb5/patches/055-register_gsscred.patch
author John Beck <John.Beck@Oracle.COM>
Thu, 08 Sep 2016 09:45:54 -0700
changeset 6864 45128c94429d
parent 6599 1d033832c5e7
child 6978 14cbeb78966a
permissions -rw-r--r--
24615249 work around pkgdepend issue to publish rjsmin on S11

#
# Automatically load localauth_gsscred plugin.
#
# To preserve long standing Solaris Kerberos behavior with respect to
# gsscred we always load the localauth_gsscred plugin delivered from ON gate.
#
# This is a Solaris specific patch, it is not meant for upstream contribution.
# Patch source: in-house
#
diff --git a/src/lib/krb5/os/localauth.c b/src/lib/krb5/os/localauth.c
--- a/src/lib/krb5/os/localauth.c
+++ b/src/lib/krb5/os/localauth.c
@@ -133,6 +133,10 @@ get_modules(krb5_context context, krb5_plugin_initvt_fn **modules_out)
     if (ret)
         return ret;
 
+    ret = k5_plugin_register_dyn(context, intf, "gsscred", "localauth");
+    if (ret)
+        return ret;
+
     ret = k5_plugin_load_all(context, intf, modules_out);
     if (ret)
         return ret;