[4645] in Kerberos

home help back first fref pref prev next nref lref last post

Re: kadmin - Can't get it to work!

daemon@ATHENA.MIT.EDU (David Mazieres)
Sat Feb 18 13:51:41 1995

To: kerberos@MIT.EDU
Date: 18 Feb 1995 18:05:05 GMT
From: dm@das.harvard.edu (David Mazieres)

In article <3i3osf$2eu@news.doit.wisc.edu>,
Bruce Orchard <orchard@eceserv0.ece.wisc.edu> wrote:
>
>I have kadmin working (but see below) on a Sun running Solaris 2.4.
>...
>
>The problem is that when the client (kadmin) exits, the 
>server (kadmind) goes into a loop handling the SIGCHILD
>signal.  Thus if you start kadmind and run kadmin, kadmin 
>works once; then you have to kill kadmind and start over.
>I think this just applies to SVR4/Solaris; it will probably
>work OK on BSD/SunOS4.

Yes, I had this problem under HP-UX, too.  I fixed it by adding
the following ifdef to function do_child in kadmin/server/adm_network.c:
(first part is what was originally there)

#ifndef __hpux
    signal(SIGCHLD, do_child);
    pid = wait(&status);
#else /* __hpux */
/*
 *  HPUX will deliver an immediate signal if a child is pending,
 *  resulting in infinite recursion!
 */
    pid = wait(&status);
    signal(SIGCHLD, do_child);
#endif /* __hpux */

I guess the problem affects more than just HP-UX, though.

David

home help back first fref pref prev next nref lref last post