Re: problem with nss_ldap

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hartmut Brandt
Date: Friday, March 6, 2009 - 1:39 pm

Hi Tom,

On Sat, 28 Feb 2009, Tom McLaughlin wrote:

TM>Tom McLaughlin wrote:
TM>> Harti Brandt wrote:
TM>> > On Sun, 18 Jan 2009, Hartmut.Brandt@dlr.de wrote:
TM>
TM>> > > Both create entries in /var/log/messages like:
TM>> > > 
TM>> > > Jan 18 20:00:02 knopdnsimu13f cron[1495]: GSSAPI Error:  Miscellaneous
TM>> > > failure (see
TM>> > > text)???????????????ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
TM>Z
TM>> Z
TM>> >  ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
TM>> > > Jan 18 20:00:02 knopdnsimu13f kernel: ZZZZZZZZZZZZZZZZ
TM>> > > 
TM>> > > I've tried to figure out in which of the dozens of layered libraries
TM>> > > (gss, sasl, ssl, ......) this error is generated but did not find
TM>> > > anything.
TM>> > > 
TM>> > > This is on amd64, krb5 enabled in pam, gssapi disabled in sshd_config
TM>> > > (as I said, this worked before).
TM>> > So to answer my own mail: I made a link from the kerberos ticket file
TM>> > which contains the host ticket (and is specified in nss_ldap.conf) to
TM>> > /tmp/krb5cc_0. I've no idea why this is suddenly necessary, though.
TM>> 
TM>> There may be an issue with the env method used in nss_ldap to change the
TM>> credentials cache.  My mind is fuzzy but I do recall a similar issue but
TM>> don't remember the exact cause or case.  nss_ldap has a second configurable
TM>> ccname method which when I submitted the original patch I intended to
TM>> switch to once we had a newer heimdal.  Once I get nss_ldap working on my
TM>> box I intend to submit another patch.
TM>> 
TM>> tom
TM>
TM>Hi Harti (CC maintainer),
TM>
TM>Can you try the attached patch for nss_ldap?  This should cause the host
TM>ticket to work correctly on -CURRENT.  It's "my box approved".

Does not work. I rebuilt my system with today's sources to be sure, 
removed my patches to the two library makefiles and rebuilt nss_ldap with 
your patch. I get:

# ls -l
dlopen: /usr/lib/libgssapi_spnego.so.10: Undefined symbol "GSS_C_NT_HOSTBASED_SERVICE"
/libexec/ld-elf.so.1: /usr/lib/libgssapi_krb5.so.10: Undefined symbol "gss_oid_equal"

Basically on everything I enter. Luckily vi still works :-)

I saw that the configuration script claims not to find 
gss_krb5_ccache_name in -lgssapi or -lgssapi_krb5. This is because the 
test program for -lgssapi_krb5 links only to gssapi_krb5 but not to gssapi 
and so gets a lot of errors. I fixed this by adding gssapi, but the final 
result was the same.

harti
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
problem with nss_ldap, Hartmut.Brandt, (Sun Jan 18, 12:39 pm)
Re: problem with nss_ldap, Harti Brandt, (Fri Jan 23, 11:02 am)
Re: problem with nss_ldap, Tom McLaughlin, (Thu Feb 26, 6:39 am)
Re: problem with nss_ldap, Tom McLaughlin, (Sat Feb 28, 11:15 am)
Re: problem with nss_ldap, Hartmut Brandt, (Fri Mar 6, 1:39 pm)
Re: problem with nss_ldap, Kostik Belousov, (Fri Mar 6, 2:16 pm)
Re: problem with nss_ldap, tmclaugh, (Fri Mar 6, 2:33 pm)
Re: problem with nss_ldap, tmclaugh, (Fri Mar 6, 3:00 pm)
Re: problem with nss_ldap, Kostik Belousov, (Fri Mar 6, 3:24 pm)
Re: problem with nss_ldap, Hartmut Brandt, (Sat Mar 7, 1:53 pm)
Re: problem with nss_ldap, Tom McLaughlin, (Sat Mar 7, 2:18 pm)
Re: problem with nss_ldap, Doug Rabson, (Tue Mar 10, 3:38 am)
Re: problem with nss_ldap, Kostik Belousov, (Tue Mar 10, 4:41 am)
Re: problem with nss_ldap, Hartmut Brandt, (Tue Mar 10, 5:39 am)
Re: problem with nss_ldap, Doug Rabson, (Tue Mar 10, 5:47 am)
Re: problem with nss_ldap, Doug Rabson, (Tue Mar 10, 5:52 am)
Re: problem with nss_ldap, Tom McLaughlin, (Tue Mar 10, 9:58 am)
Re: problem with nss_ldap, Hartmut Brandt, (Thu Mar 12, 1:31 am)
Re: problem with nss_ldap, Tom McLaughlin, (Sun Mar 15, 4:07 pm)
Re: problem with nss_ldap, Hartmut Brandt, (Mon Mar 16, 1:56 am)
Re: problem with nss_ldap, Harti Brandt, (Mon Mar 16, 4:04 am)
Re: problem with nss_ldap, O. Hartmann, (Mon Mar 16, 4:10 am)
Re: problem with nss_ldap, tmclaugh, (Mon Mar 16, 7:13 am)
Re: problem with nss_ldap, Tom McLaughlin, (Sun Apr 5, 2:41 pm)
Re: problem with nss_ldap, Hartmut Brandt, (Mon Apr 6, 12:54 am)