Bug 9111 - Fix compilation with newer MIT kerberos which hides internal symbols.
Summary: Fix compilation with newer MIT kerberos which hides internal symbols.
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.6.7
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-22 12:31 UTC by Andreas Schneider
Modified: 2012-08-23 18:34 UTC (History)
0 users

See Also:


Attachments
v3-6-test patch (7.86 KB, patch)
2012-08-22 12:31 UTC, Andreas Schneider
jra: review+
gd: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2012-08-22 12:31:49 UTC
Created attachment 7807 [details]
v3-6-test patch

For doing a lookup of the KDC we call an internal MIT Keberos function. With newer versions of MIT Kerberos like 1.10 this functions isn't exported anymore and Samba fails to build.

The following patch removes smb_krb5_locate_kdc() which calls in internal MIT function and the kdc lookup code uses a Samba function to provide the same functionality.

The patch is already in master and we have backported it for RHEL. I think this should be in 3.6 too to avoid problems for other users.
Comment 1 Guenther Deschner 2012-08-22 16:03:45 UTC
Comment on attachment 7807 [details]
v3-6-test patch

Looks fine :)
Comment 2 Jeremy Allison 2012-08-22 18:05:33 UTC
Comment on attachment 7807 [details]
v3-6-test patch

LGTM.
Comment 3 Jeremy Allison 2012-08-22 18:06:03 UTC
Re-assigning to Karolin for inclusion in 3.6.next.
Jeremy.
Comment 4 Karolin Seeger 2012-08-23 18:34:23 UTC
Pushed to v3-6-test.
Closing out bug report.

Thanks!