[2891] in Kerberos-V5-bugs
Re: pending/559: BUG: krb5-1.0.x aclocal.m4
daemon@ATHENA.MIT.EDU (Larry Schwimmer)
Mon Mar 16 23:11:49 1998
From: Larry Schwimmer <schwim@whatmore.Stanford.EDU>
Date: Mon, 16 Mar 1998 20:11:28 -0800 (PST)
Cc: krb5-bugs@MIT.EDU, gnats-admin@rt-11.MIT.EDU, krb5-prs@rt-11.MIT.EDU
In-Reply-To: <199803170400.XAA25000@dcl.MIT.EDU> from "Theodore Y. Ts'o" at Mar 16, 98 11:00:05 pm
You (Theodore Y. Ts'o) write:
> Date: Mon, 16 Mar 1998 18:37:01 -0800 (PST)
> From: Larry Schwimmer <schwim@whatmore.Stanford.EDU>
>
> configure does not know how to check the network libraries
> correctly. The relevant code is in aclocal.m4. It currently uses
> an incomplete kludge.
>
> We have a more complete kludge in our tree now...
Good to hear. (-: (I know -- this is an annoying case to
handle. Didn't mean to be an annoyance. I called it a kludge
because it hard-coded the OS.)
> The socket and nsl libraries are optional libraries which
> should not be used for socket applications. libc contains all the
> necessary calls.
>
> This is not true, unfortunately. At least, not on all versions of Unix.
> Some systems, most notably Solaris, require the use of these two
> libraries if you want to use any part of the socket API at all.
I was referring to IRIX in that statement. We support
Solaris, HP-UX, AIX, Linux, Digital UNIX, and IRIX here. So I'm
familiar with Solaris and the joyous necessity of -lsocket -lnsl.
It's the primary reason why programs get built wrong on IRIX.
When we upgraded our kerberos clients last Winter break, we
ended up breaking logins until we figured out the problem. (Our test
machine worked just fine since the people testing it were in the local
password file.) I'm in the process of cleaning up our local patch set
and building the 1.0.5 distribution and wanted to be sure the problem
is fixed. It was ... unpleasant.
yours,
Larry