The Samba-Bugzilla – Bug 433
with-krb5 ignores location specified
Last modified: 2004-12-01 09:17:46 UTC
The with-krb5 option ignores the location specified and attempts to locate the
kerberos installation automatically.
This is a problem when attempting to compile against hemdal on a machine with
both MIT krb5 and heimdal installed.
./configure --prefix=/usr/local --with-readline
results in the following output by configure:
LIBS = -lsec -lgen -lresolv -lsocket -lnsl -ldl
KRB5_LIBS = -L/usr/krb5/lib -R/usr/krb5/lib -lgssapi_krb5 -lkrb5 -lk5crypto
LDAP_LIBS = -llber -lldap
assigning to me
Created attachment 134 [details]
Use krb5-config from --with-krb5 directory
Here's the start of a patch to fix this. Configure will now detect and use a
krb5-config in the --with-krb5 directory. Samba still doesnt't compile with
both MIT and Heimdal kerberos installed if MIT is installed in /usr/include.
Moving to Samba HEAD product. The configure scripts are too fragile to be poked
at just before a release.
*** Bug 600 has been marked as a duplicate of this bug. ***
Bring this back to Samba 3.0 - it's not just a HEAD problem.
*** Bug 664 has been marked as a duplicate of this bug. ***
will someone do something with this ? Thanks.
reseting target milestone. 3.0.1 has been frozen. WIll have to
workaround is to set CPPFLASG, CFLAGS, and LDFLAGS.
(In reply to comment #9)
> workaround is to set CPPFLASG, CFLAGS, and LDFLAGS.
Actually I do not have kerberos installed, but by default on Solaris 9, the
gssapi header files are installed from the package SUNWhea
This does not work even on samba-3.0.9:
[oak source]$ printenv | grep FLAGS
Then I run configure:[oak source]$ ./configure
--with-configdir=/etc/samba --with-smbwrapper --with-ldap --with-automount
--with-syslog --with-quotas --with-acl-support--with-krb5=/opt/local
Then when i run make,
There is an error in dynconfig.c about the header files conflicting between:
/usr/include/gssapi (from the SUNWhea package) and
/opt/local/incude (from the heimdal package).
I can send config.log upon request.