Bug 4189 - Incorrect detection of heimdahl libs
Summary: Incorrect detection of heimdahl libs
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.23c
Hardware: Other Linux
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-25 07:30 UTC by Olaf Flebbe
Modified: 2006-10-25 07:31 UTC (History)
0 users

See Also:


Attachments
Change to the configure.in (660 bytes, patch)
2006-10-25 07:31 UTC, Olaf Flebbe
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Flebbe 2006-10-25 07:30:52 UTC
Hi,

there are specific checks for heimdahl libs in the config file in the --with-ads case which seem to be bogus to me.

They have the only side effect for importing the heimdahl libraries -lasn1 (ans so on) in front of the library path, overwriting the settings of --with-krb5=basedir.

 In the case of MIT libraries in the --with-krb5 path and heimdahl on the system (for instance a suse90 system) this results with both libs in the smbd. There is no chance only to choose MIT Libs without removing the heimdahl-devel packages on such a system.

IMHO the only way of importing kerberos libraries should be the detection with krb5-config and an single fallback path should this not exist. The proposed patch does not enforce it, but it should be a step in this direction.
Comment 1 Olaf Flebbe 2006-10-25 07:31:45 UTC
Created attachment 2192 [details]
Change to the configure.in