[6252] in Kerberos

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

Re: Kerberos on HP-UX

daemon@ATHENA.MIT.EDU (Roscoe Rush)
Fri Nov 17 14:56:46 1995

To: kerberos@MIT.EDU
Date: Fri, 17 Nov 1995 12:14:55 -0600
From: Roscoe Rush <roscoe.rush@pamd.cig.mot.com>

The following is what I have done to compile Kerberos-VB5 on HP-UX 9.05.
I am using the HP compiler and gnu make. 
 
Hope this helps. 
Roscoe Rush

Autoconfigure options:
======================

../../src/configure --with-ccopts="-Aa -Wl,-a,archive" \
          --with-cppopts="-D_POSIX_SOURCE -D_HPUX_SOURCE -Dhpux"

-Aa              = ansi compile
-Wl,-a,archive   = no shared libraries
-D_POSIX_SOURCE  = Posix compliance
-D_HPUX_SOURCE   = Posix compliance
-Dhpux           = appl/bsd support


PATCHES 
=======

You will have to patch the sample server in order to use it from inetd. A
daemon initiated from inetd assumes file descriptor 0 for I/O. The sample
server initialized the I/O descriptor to -1 and never reassigned it.

*** src/appl/sample/sserver/sserver.c.orig      Mon Nov 13 09:27:59 1995
--- src/appl/sample/sserver/sserver.c   Mon Nov 13 09:28:13 1995
***************
*** 123,128 ****
--- 123,129 ----
            syslog(LOG_ERR, "getpeername: %m");
            exit(1);
        }
+       sock = 0;
      }

      peeraddr.addrtype = peername.sin_family;

-- 
    .---------------------------------------------------------------------.
    | Roscoe M. Rush                        \\  As Dilbert the Ant Farm   |
    | Motorola ITS CT Service Team           \\    Engineer says,         |
    | Voice (708) 435-7073 Fax (708) 435-7360 \\     "I'M DOOMED"         |
    | roscoe.rush@pamd.cig.mot.com             \\                         |
    `---------------------------------------------------------------------'

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