Re: problem with nss_ldap

From: Hartmut Brandt <hartmut.brandt_at_dlr.de>
Date: Thu, 12 Mar 2009 09:31:41 +0100 (CET)
On Tue, 10 Mar 2009, Tom McLaughlin wrote:

TM>Doug Rabson wrote:

[snip alot]

TM>Okay, attached is a patch to nss_ldap.  On -CURRENT I have changed the 
TM>CONFIGURE_ARG to use "--enable-configurable-krb5-ccname-gssapi" instead 
TM>of "--enable-configurable-krb5-ccname-env" which fixes Harti's initial 
TM>problem with apps like cron failing.  It will also make nss_ldap link 
TM>against libgssapi and libgssapi_krb5.  I still have one lingering issue 
TM>though at least things work.
TM>
TM>[tom_at_freebsd-8-amd64 tom]$ getent passwd tom
TM>dlopen: /usr/lib/libgssapi_spnego.so.10: Undefined symbol 
TM>"GSS_C_NT_HOSTBASED_SERVICE"
TM>tom:x:10001:10001:Tom McLaughlin:/home/tom:/bin/sh

Ok. This works so far. I get the same error. But I have the original problem
again - cron, sendmail and sshd seem not to use the hostcreds. I still need a
link from /var/tmp/hostcreds to /tmp/krb5cc_0 to make sshd to work. The build
of nss_ldap seems to find all the necessary files: sasl.h, gssapi.h,
gssapi_krb5.h.

The thing I cannot understand is: why do normal applications find the hostcreds,
but the daemons not? What do they differently?

harti
Received on Thu Mar 12 2009 - 07:31:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:43 UTC