[2051] in Kerberos

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

Re: kprop/kpropd on v4. Anyone ever get this to work?

daemon@ATHENA.MIT.EDU (Alan Crosswell)
Mon Jul 20 10:56:52 1992

Date: 20 Jul 92 14:11:51 GMT
From: alan@curta.cc.columbia.edu (Alan Crosswell)
To: kerberos@shelby.Stanford.EDU

In article <1992Jul17.185412.7736@tc.cornell.edu>  
mqh@theory.TC.Cornell.EDU (Mike Hojnowski) writes:
> Hi,
> 
> I'm bringing up V4 on an RS/6000.  I've got the basics working.  Now,  
I'd like
> to set up database propagation to a second backup server.  I've started  
poking
> at kprop & kpropd.  kpropd is presently hanging without opening a  
socket.
> I can't get logging to work.  
> 
> Can anyone give me advice on getting this working?  Also, any  
documentation
> would be helpful.  The only documentation I have is the source.
> 
> Mike Hojnowski
> Cornell University

cunixd% rlog kpropd.c

RCS file:        RCS/kpropd.c,v;   Working file:    kpropd.c
head:            1.2
branch:          
locks:           ;  strict
access list:   
symbolic names:
comment leader:  " * "
total revisions: 2;    selected revisions: 2
description:
----------------------------
revision 1.2        
date: 92/03/02 18:53:35;  author: alan;  state: Exp;  lines added/del:  
10/6
struct sin was not zero'd out prior to use.  Caused a failure to bind.
----------------------------
revision 1.1        
date: 91/10/16 17:01:37;  author: alan;  state: Exp;  
Initial revision
========================================================================== 
===
cunixd% rcsdiff -c -r1.1 kpropd.c
RCS file: RCS/kpropd.c,v
retrieving revision 1.1
diff -c -r1.1 kpropd.c
*** /tmp/,RCSt1a27836   Mon Jul 20 10:10:47 1992
--- kpropd.c    Mon Mar  2 18:53:58 1992
***************
*** 5,12 ****
   * For copying and distribution information,
   * please see the file <mit-copyright.h>.
   *
!  * $Revision: 1.1 $
!  * $Date: 91/10/16 17:01:37 $
   * $State: Exp $
   * $Source:  
/d/backup/src4/common/athena/kerberos/src/slave/RCS/kpropd.c,v $
   * $Author: alan $
--- 5,12 ----
   * For copying and distribution information,
   * please see the file <mit-copyright.h>.
   *
!  * $Revision: 1.2 $
!  * $Date: 92/03/02 18:53:35 $
   * $State: Exp $
   * $Source:  
/d/backup/src4/common/athena/kerberos/src/slave/RCS/kpropd.c,v $
   * $Author: alan $
***************
*** 13,18 ****
--- 13,21 ----
   * $Locker:  $
   *
   * $Log:      kpropd.c,v $
+  * Revision 1.2  92/03/02  18:53:35  alan
+  * struct sin was not zero'd out prior to use.  Caused a failure to  
bind.
+  * 
   * Revision 1.1  91/10/16  17:01:37  alan
   * Initial revision
   * 
***************
*** 41,47 ****
  
  #ifndef       lint
  static char rcsid_kpropd_c[] =
! "$Header: /d/backup/src4/common/athena/kerberos/src/slave/RCS/kpropd.c,v  
1.1 91/10/16 17:01:37 alan Exp $";
  #endif        lint
  
  #include <mit-copyright.h>
--- 44,50 ----
  
  #ifndef       lint
  static char rcsid_kpropd_c[] =
! "$Header: /d/backup/src4/common/athena/kerberos/src/slave/RCS/kpropd.c,v  
1.2 92/03/02 18:53:35 alan Exp $";
  #endif        lint
  
  #include <mit-copyright.h>
***************
*** 153,158 ****
--- 156,162 ----
        klog(L_KRB_PERR, "kpropd: tcp/krb_prop: unknown service.");
        SlowDeath();
      }
+     bzero(&sin,sizeof sin);   /* take the defaults for everything else  
*/
      sin.sin_port = sp->s_port;
      sin.sin_family = AF_INET;

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