shishi-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

inetutils/libinetutils kcmd.c


From: shishi-commit
Subject: inetutils/libinetutils kcmd.c
Date: Thu, 18 Sep 2003 08:50:07 -0400

CVSROOT:        /cvsroot/shishi
Module name:    inetutils
Branch:         
Changes by:     Nicolas Pouvesle <address@hidden>       03/09/18 08:50:07

Modified files:
        libinetutils   : kcmd.c 

Log message:
        Add realm option support.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/shishi/inetutils/libinetutils/kcmd.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: inetutils/libinetutils/kcmd.c
diff -u inetutils/libinetutils/kcmd.c:1.2 inetutils/libinetutils/kcmd.c:1.3
--- inetutils/libinetutils/kcmd.c:1.2   Sat Sep 13 16:08:15 2003
+++ inetutils/libinetutils/kcmd.c       Thu Sep 18 08:50:07 2003
@@ -49,7 +49,7 @@
 #if defined(KERBEROS)
 #include <kerberosIV/des.h>
 #include <kerberosIV/krb.h>
-//#include <kerberosIV/kparse.h>
+#include <kerberosIV/kparse.h>
 #elif defined(SHISHI)
 #include <shishi.h>
 #include "shishi_def.h"
@@ -83,7 +83,7 @@
 #elif defined(SHISHI)
 int
 kcmd(h,sock, ahost, rport, locuser, remuser, cmd, fd2p, service, realm,
-     /*cred,*/ key, /*msg_data,*/ laddr, faddr, authopts)
+     key, laddr, faddr, authopts)
         Shishi **h;
 #endif
        int *sock;
@@ -285,14 +285,8 @@
                }
        }
 
-       if ((status = shishi_auth(h, 0, remuser, *ahost, s, cmd, rport, key)) 
!= SHISHI_OK)
-         /**ahost,
-                              realm, (unsigned long) getpid(), msg_data,
-                              cred, key,
-                              laddr,
-                              faddr,
-                              "KCMDV0.1")) != KSUCCESS)
-         */    goto bad2;
+       if ((status = shishi_auth(h, 0, remuser, *ahost, s, cmd, rport, key, 
realm)) != SHISHI_OK)
+         goto bad2;
 
 #endif /* SHISHI */
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]