/[shishi]/inetutils/libinetutils/kcmd.c
ViewVC logotype

Diff of /inetutils/libinetutils/kcmd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by npo, Sat Sep 13 20:08:15 2003 UTC revision 1.3 by npo, Thu Sep 18 12:50:07 2003 UTC
# Line 49  static char sccsid[] = "@(#)kcmd.c     8.2 ( Line 49  static char sccsid[] = "@(#)kcmd.c     8.2 (
49  #if defined(KERBEROS)  #if defined(KERBEROS)
50  #include <kerberosIV/des.h>  #include <kerberosIV/des.h>
51  #include <kerberosIV/krb.h>  #include <kerberosIV/krb.h>
52  //#include <kerberosIV/kparse.h>  #include <kerberosIV/kparse.h>
53  #elif defined(SHISHI)  #elif defined(SHISHI)
54  #include <shishi.h>  #include <shishi.h>
55  #include "shishi_def.h"  #include "shishi_def.h"
# Line 83  kcmd(sock, ahost, rport, locuser, remuse Line 83  kcmd(sock, ahost, rport, locuser, remuse
83  #elif defined(SHISHI)  #elif defined(SHISHI)
84  int  int
85  kcmd(h,sock, ahost, rport, locuser, remuser, cmd, fd2p, service, realm,  kcmd(h,sock, ahost, rport, locuser, remuser, cmd, fd2p, service, realm,
86       /*cred,*/ key, /*msg_data,*/ laddr, faddr, authopts)       key, laddr, faddr, authopts)
87          Shishi **h;          Shishi **h;
88  #endif  #endif
89          int *sock;          int *sock;
# Line 285  kcmd(h,sock, ahost, rport, locuser, remu Line 285  kcmd(h,sock, ahost, rport, locuser, remu
285                  }                  }
286          }          }
287    
288          if ((status = shishi_auth(h, 0, remuser, *ahost, s, cmd, rport, key)) != SHISHI_OK)          if ((status = shishi_auth(h, 0, remuser, *ahost, s, cmd, rport, key, realm)) != SHISHI_OK)
289            /**ahost,            goto bad2;
                                realm, (unsigned long) getpid(), msg_data,  
                                cred, key,  
                                laddr,  
                                faddr,  
                                "KCMDV0.1")) != KSUCCESS)  
           */    goto bad2;  
290    
291  #endif /* SHISHI */  #endif /* SHISHI */
292    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26