[krbdev.mit.edu #7925] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Jun 4 16:54:11 EDT 2014


Read /etc/gss/mech if no mech.d/*.conf found

Always read /etc/gss/mech, even if globbing /etc/gss/mech.d/*.conf
doesn't work.  Doing this using GLOB_DOOFFS proved error-prone, so use
a simpler approach: factor out the per-pathname handling into a helper
function load_if_changed, call it with MECH_CONF before the glob, then
pass each glob result through the helper.

https://github.com/krb5/krb5/commit/ac98187641f6943ae571606c0b6a97f236f9b60c
Author: Greg Hudson <ghudson at mit.edu>
Commit: ac98187641f6943ae571606c0b6a97f236f9b60c
Branch: master
 src/lib/gssapi/mechglue/g_initialize.c |   43 ++++++++++++++++++-------------
 1 files changed, 25 insertions(+), 18 deletions(-)



More information about the krb5-bugs mailing list