Scott Grizzard wrote:
Ralph Angenendt wrote:
You first have to find some heimdal packages for CentOS and hope, that those do not conflict with the kerberos packages from CentOS.
Then see the two smbk5pwd patches under $RPMDIR/SOURCES to see what we changed from the original sources which are distributed by the openldap guys. Cheers,
Ralph
Ok, I compiled heimdal from source into the /usr/heimdal directory. I enabled the -DDO_KRB5 option in the makefile for smbk5pwd. When I try to build the rpms, it dies when it gets to smbk5pwd. Looking at the output for the module (below), it looks like it is looking for the kerberos libraries at /usr/kerberos/lib insteat of /usr/heimdal/lib.
On the spec file, it mentions "change LD_FLAGS to refer to to %{_prefix}/kerberos/%{_lib} instead of /usr/kerberos/lib, which might not be right on some arches", but I cannot find the line it refers to in this log message.
How do I tell rpmbuild to use the /usr/heimdal directory instead of /usr/kerberos?
You probably need to look at the Makefile in the smbk5pwd directory and patch it to point to the correct place.