Bug 118298

Summary: /etc/gss/mech needs to bump version for HEAD/RELENG7
Product: Base System Reporter: Sean McNeil <sean>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Sean McNeil 2007-11-28 06:50:00 UTC
The library version number for libgssapi_krb5.so in /etc/gss/mech needs to be bumped. It is currently set to  /usr/lib/libgssapi_krb5.so.8 and needs to be set to  /usr/lib/libgssapi_krb5.so.9.

Fix: --- mech.orig   2007-11-27 22:40:37.000000000 -0800
+++ mech        2007-11-27 22:40:47.000000000 -0800
@@ -1,4 +1,4 @@
 # $FreeBSD: src/etc/gss/mech,v 1.1 2005/12/29 14:40:18 dfr Exp $
 #
 # Name         OID                     Library name                    Kernel module
-kerberosv5     1.2.840.113554.1.2.2    /usr/lib/libgssapi_krb5.so.8    -
+kerberosv5     1.2.840.113554.1.2.2    /usr/lib/libgssapi_krb5.so.9    -


Patch attached with submission follows:
How-To-Repeat: Problem shows when using a SASL2 mechanism. For me, I use ldapsearch to communicate with openldap 2.3:

# ldapsearch
SASL/GSSAPI authentication started
dlopen: Cannot open "/usr/lib/libgssapi_krb5.so.8"
dlopen: Cannot open "/usr/lib/libgssapi_krb5.so.8"
dlopen: Cannot open "/usr/lib/libgssapi_krb5.so.8"
dlopen: Cannot open "/usr/lib/libgssapi_krb5.so.8"
dlopen: Cannot open "/usr/lib/libgssapi_krb5.so.8"
ldap_sasl_interactive_bind_s: Local error (-2)
        additional info: SASL(-1): generic failure: GSSAPI Failure (could not get minor error message)
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2007-11-28 07:04:22 UTC
State Changed
From-To: open->closed

Already committed to HEAD by jhb.
Comment 2 Sean McNeil 2007-11-28 17:10:35 UTC
This needs to be MFC'd to RELENG_7.