RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 816123 - samba's use of (private) krb5_locate_kdc() broken by krb5-1.10
Summary: samba's use of (private) krb5_locate_kdc() broken by krb5-1.10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: samba
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Guenther Deschner
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On: 754783
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-25 10:13 UTC by Guenther Deschner
Modified: 2012-06-20 13:50 UTC (History)
11 users (show)

Fixed In Version: samba-3.5.10-124.el6
Doc Type: Bug Fix
Doc Text:
Cause: An update of the system Kerberos library to a recent version can make Samba binaries and libraries suddenly unusable because Samba was using a private library symbol. Consequence: Samba was no longer usable after an Kerberos update. Fix: Samba has been fixed to no longer use that private symbol. Result: Samba continues to operate when the Kerberos library has been updated.
Clone Of: 754783
Environment:
Last Closed: 2012-06-20 13:50:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0850 0 normal SHIPPED_LIVE samba bug fix update 2012-06-19 20:48:39 UTC

Description Guenther Deschner 2012-04-25 10:13:32 UTC
+++ This bug was initially created as a clone of Bug #754783 +++

Description of problem:

	/lib/libpthread.so.0
[ajax@f17 ~]$ ldd -r -u /usr/lib/libsmbclient.so.0 
     26483:	/usr/lib/libsmbclient.so.0: error: relocation error: symbol krb5_locate_kdc, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference (continued)
symbol krb5_locate_kdc, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference	(/usr/lib/libsmbclient.so.0)
Unused direct dependencies:
	linux-gate.so.1
[ajax@f17 ~]$ rpm -q libsmbclient krb5-libs
libsmbclient-3.6.1-75.fc17.i686
krb5-libs-1.10-0.fc17.alpha1.0.i686

Consequently, F17 builds that link against libsmbclient will fail because not all symbols resolve.

--- Additional comment from kevin.org on 2011-11-19 23:12:17 EST ---

… or they'll succeed, but without SMB support. :-/

xine-lib fails to detect libsmbclient because of this and just proceeds to build without it, though the file list in the RPM is strict enough so the missing plugin will fail the build.

Either way, this is going to break a lot of things.

--- Additional comment from ajax on 2011-11-21 12:38:31 EST ---

samba-3.6.1-76.fc17 is a rebuild without this symbol:

http://koji.fedoraproject.org/koji/taskinfo?taskID=3530245

samba's configure magic checks for this symbol and compiles without it if it's not present, but that's probably a loss of functionality.  Simo assures me it's being investigated, but I'm leaving this bug open in the meantime until a proper fix is found.

--- Additional comment from asn on 2011-11-22 07:12:05 EST ---

Without it, the 'net lookup kdc <realm>' will not work. This gives the IP address of a KDC for the specified REALM.

There is no other use of this function.

--- Additional comment from updates on 2012-04-22 19:17:02 EDT ---

samba-3.6.4-83.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/samba-3.6.4-83.fc16

--- Additional comment from updates on 2012-04-24 10:56:23 EDT ---

Package samba-3.6.4-83.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing samba-3.6.4-83.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-6537/samba-3.6.4-83.fc16
then log in and leave karma (feedback).

Comment 1 RHEL Program Management 2012-04-25 13:50:57 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 6 Martin Cermak 2012-05-03 14:56:46 UTC
Comment#5 => VERIFIED

Comment 7 Guenther Deschner 2012-05-22 16:12:51 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause:
An update of the system Kerberos library to a recent version can make Samba
binaries and libraries suddenly unusable because Samba was using a private
library symbol.

Consequence:
Samba was no longer usable after an Kerberos update.

Fix:
Samba has been fixed to no longer use that private symbol.

Result:
Samba continues to operate when the Kerberos library has been updated.

Comment 9 errata-xmlrpc 2012-06-20 13:50:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0850.html


Note You need to log in before you can comment on or make changes to this bug.