Bug 754783 - 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: Fedora
Classification: Fedora
Component: samba
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 816123
TreeView+ depends on / blocked
 
Reported: 2011-11-17 17:44 UTC by Adam Jackson
Modified: 2012-05-03 07:23 UTC (History)
6 users (show)

Fixed In Version: samba-3.6.5-85.fc16
Clone Of:
: 816123 (view as bug list)
Environment:
Last Closed: 2012-05-03 07:23:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Jackson 2011-11-17 17:44:52 UTC
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.

Comment 1 Kevin Kofler 2011-11-20 04:12:17 UTC
… 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.

Comment 2 Adam Jackson 2011-11-21 17:38:31 UTC
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.

Comment 3 Andreas Schneider 2011-11-22 12:12:05 UTC
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.

Comment 4 Fedora Update System 2012-04-22 23:17:02 UTC
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

Comment 5 Fedora Update System 2012-04-24 14:56:23 UTC
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 6 Fedora Update System 2012-04-30 15:01:46 UTC
samba-3.6.5-85.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/samba-3.6.5-85.fc16

Comment 7 Fedora Update System 2012-05-03 07:23:32 UTC
samba-3.6.5-85.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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