Changed service name from rcmd to host. Changed to reflect new
authorTheodore Tso <tytso@mit.edu>
Thu, 24 Sep 1992 23:33:06 +0000 (23:33 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 24 Sep 1992 23:33:06 +0000 (23:33 +0000)
get_in_tkt calling sequence.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2403 dc483132-0cff-0310-8789-dd5450dbe970

src/slave/kprop.c

index 04472f7c2bb2b8d70a374d70c1ecb2da64c8938c..b6a0361a3bcd0dc8324cd9ccd2b43aedff7c5433 100644 (file)
@@ -198,9 +198,9 @@ void get_tickets()
                if (isupper(*cp))
                        *cp = tolower(*cp);
        if (realm)
-               sprintf(buf, "rcmd/%s@%s", hp->h_name, realm);
+               sprintf(buf, "host/%s@%s", hp->h_name, realm);
        else
-               sprintf(buf, "rcmd/%s", hp->h_name);
+               sprintf(buf, "host/%s", hp->h_name);
        if (retval = krb5_parse_name(buf, &my_principal)) {
                com_err (progname, retval, "when parsing name %s",buf);
                exit(1);
@@ -269,10 +269,11 @@ void get_tickets()
                exit(1);
        }
        retval = krb5_get_in_tkt_with_skey(0, my_addresses,
+                                          0,
                                           ETYPE_DES_CBC_CRC,
-                                          0, ccache, &my_creds);
+                                          0, ccache, &my_creds, 0);
        if (retval) {
-               com_err(progname, retval, "While getting initial ticket\n");
+               com_err(progname, retval, "while getting initial ticket\n");
                exit(1);
        }
        /*