X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Frsh-security.c;h=04266ab6309896d44bf2644babb43e20909e1acc;hb=3f2539260c201b5e594bf8ce89b583ebde6a63d1;hp=3cd3664dcc8dd3ed8b20c448ad496eb80edb12ec;hpb=d5853102f67d85d8e169f9dbe973ad573306c215;p=debian%2Famanda diff --git a/common-src/rsh-security.c b/common-src/rsh-security.c index 3cd3664..04266ab 100644 --- a/common-src/rsh-security.c +++ b/common-src/rsh-security.c @@ -76,6 +76,7 @@ const security_driver_t rsh_security_driver = { "RSH", rsh_connect, sec_accept, + sec_get_authenticated_peer_name_hostname, sec_close, stream_sendpkt, stream_recvpkt, @@ -239,8 +240,7 @@ runrsh( xclient_username = CLIENT_LOGIN; execlp(RSH_PATH, RSH_PATH, "-l", xclient_username, - rc->hostname, xamandad_path, "-auth=rsh", "amdump", "amindexd", - "amidxtaped", (char *)NULL); + rc->hostname, xamandad_path, "-auth=rsh", (char *)NULL); error(_("error: couldn't exec %s: %s"), RSH_PATH, strerror(errno)); /* should never go here, shut up compiler warning */