Bug 9111 - Fix compilation with newer MIT kerberos which hides internal symbols.
Fix compilation with newer MIT kerberos which hides internal symbols.
Status: RESOLVED FIXED
Product: Samba 3.6
Classification: Unclassified
Component: Client Tools
3.6.7
All All
: P5 normal
: ---
Assigned To: Karolin Seeger
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
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!