Bug 4189 - Incorrect detection of heimdahl libs
Incorrect detection of heimdahl libs
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.23c
Other Linux
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
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