Skip Menu |
 

From daniel@meanie.unity.ncsu.edu Mon Jul 1 12:49:14 2002
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.7.7.76])
by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id MAA02452
for <bugs@RT-11.mit.edu>; Mon, 1 Jul 2002 12:49:14 -0400 (EDT)
Received: from meanie.unity.ncsu.edu (meanie.unity.ncsu.edu [152.1.4.173])
by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id MAA17122
for <krb5-bugs@mit.edu>; Mon, 1 Jul 2002 12:49:10 -0400 (EDT)
Received: (from daniel@localhost)
by meanie.unity.ncsu.edu (8.11.6+Sun/8.10.2) id g61Gn9T21493;
Mon, 1 Jul 2002 12:49:09 -0400 (EDT)
Message-Id: <200207011649.g61Gn9T21493@meanie.unity.ncsu.edu>
Date: Mon, 1 Jul 2002 12:49:09 -0400 (EDT)
From: daniel@ncsu.edu
Reply-To: daniel@ncsu.edu
To: krb5-bugs@mit.edu
Subject: 1.2.5 lack of libresolv with --disable-dns-for-kdc
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 1129
>Category: pending
>Synopsis: 1.2.5 lack of libresolv with --disable-dns-for-kdc
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Mon Jul 1 12:50:01 EDT 2002
>Last-Modified:
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
Originator: Daniel Henninger
Organization: NC State University
Confidential: no
Synopsis: -lresolv missing for krb524d with --disable-dns-for-kdc option
Severity: critical?
Priority: medium
Category: krb5-misc
Class: sw-bug
Release: krb5-1.2.5
Environment: Solaris 2.8
System: SunOS meanie.unity.ncsu.edu 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-1
Architecture: sun4

Description:
If I specify both --with-krb4 and --disable-dns-for-kdc, when it gets to
linking krb524d, it fails when it can't find the 'daemon' symbol. Looks
like a missing -lresolv or something because of me disabling dns-for-kdc.

How-To-Repeat:
Just configure it with --with-krb4 and --disable-dns-for-kdc.

Fix:
I haven't looked through it much, just a fix to include -lresolv where
necessary I assume.
Subject: 1.2.5 lack of libresolv with --disable-dns-for-kdc
Hi,

I've just tried compilinig krb5 1.2.5 (and the 1.2.6 beta) with the
option --disable-dns-for-kdc without any problem in linking krb524d.
You should also have problems linking krb5kdc, kadmind, etc.

In my builds, the function "daemon" is added to the krb5 library in the
lib/krb5/posix directory.

Can you do the following:

a) In the lib directory of your build execute:

nm libkrb5.a | grep daemon

You should see a line indicating that daemon is a global function.

b) If daemon is not present in the library, we need to figure out why.
-- look in config.cache in the top level directory - does the line:
ac_cv_func_daemon=${ac_cv_func_daemon='no'}
appear?

Could you send me a copy of the file lib/krb5/config.log?

c) If daemon is present in libkrb5.a, could you send me the link line as
output by make in the krb524d
directory?

Mine looks like:
cc -L../lib -o krb524d krb524d.o -lkadm5srv -lkdb5 ../lib/libdb.a
-lgssrpc -ldyn -lgssapi_krb5 libkrb524.a -lkrb4 -lkrb5 -ldes425
-lk5crypto -lcom_err -lgen -lsocket -lnsl

Thanks

Ezra
Date: Thu, 22 Aug 2002 09:58:48 -0400 (EDT)
From: Daniel Henninger <daniel@unity.ncsu.edu>
To: via RT <rt-comment@krbdev.mit.edu>
Cc: krb5-prs@MIT.EDU
Subject: Re: [krbdev.mit.edu #1129] 1.2.5 lack of libresolv with --disable-dns-for-kdc
RT-Send-Cc:
Download (untitled) / with headers
text/plain 1.7KiB
Hrm, I don't even remember submitting this. I also don't recall ever
using the --disable-dns-for-kdc flag. How long ago did I submit this
report and is there any chance I could see it again so I can figure out
what the situation might have been?

Daniel

Show quoted text
> Hi,
>
> I've just tried compilinig krb5 1.2.5 (and the 1.2.6 beta) with the
> option --disable-dns-for-kdc without any problem in linking krb524d.
> You should also have problems linking krb5kdc, kadmind, etc.
>
> In my builds, the function "daemon" is added to the krb5 library in the
> lib/krb5/posix directory.
>
> Can you do the following:
>
> a) In the lib directory of your build execute:
>
> nm libkrb5.a | grep daemon
>
> You should see a line indicating that daemon is a global function.
>
> b) If daemon is not present in the library, we need to figure out why.
> -- look in config.cache in the top level directory - does the line:
> ac_cv_func_daemon=${ac_cv_func_daemon='no'}
> appear?
>
> Could you send me a copy of the file lib/krb5/config.log?
>
> c) If daemon is present in libkrb5.a, could you send me the link line as
> output by make in the krb524d
> directory?
>
> Mine looks like:
> cc -L../lib -o krb524d krb524d.o -lkadm5srv -lkdb5 ../lib/libdb.a
> -lgssrpc -ldyn -lgssapi_krb5 libkrb524.a -lkrb4 -lkrb5 -ldes425
> -lk5crypto -lcom_err -lgen -lsocket -lnsl
>
> Thanks
>
> Ezra
>

--
/\\\----------------------------------------------------------------------///\
\ \\\ Daniel Henninger http://www.vorpalcloud.org/ /// /
\_\\\ North Carolina State University - Systems Programmer ///_/
\\\ Information Technology <IT> ///
"""--------------------------------------------------------------"""
To: rt@krbdev.mit.edu
Subject: [krbdev.mit.edu #1129]looking up problem report
Date: Thu, 22 Aug 2002 17:46:35 -0400 (EDT)
From: hartmans@mit.edu (Sam Hartman)
RT-Send-Cc:
Go to http://krbdev.mit.edu/rt/; log in a guest with password of
guest. Then select go to ticket 1129.