From: Theodore Tso Date: Thu, 24 Sep 1992 23:33:06 +0000 (+0000) Subject: Changed service name from rcmd to host. Changed to reflect new X-Git-Tag: krb5-1.0-beta2~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1ca04288d0737d42891b5b48bf415f18d285969a;p=krb5.git Changed service name from rcmd to host. Changed to reflect new get_in_tkt calling sequence. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2403 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/slave/kprop.c b/src/slave/kprop.c index 04472f7c2..b6a0361a3 100644 --- a/src/slave/kprop.c +++ b/src/slave/kprop.c @@ -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); } /*