From: zacheiss Date: Tue, 8 Sep 2009 22:00:20 +0000 (+0000) Subject: dcm_execute() needs to attempt krb5 first, too. X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/76ba8bef90cb3cdf832c2c1464d5c407e410f8cc dcm_execute() needs to attempt krb5 first, too. --- diff --git a/dcm/dcm.pc b/dcm/dcm.pc index 7117412b..2e4ff140 100644 --- a/dcm/dcm.pc +++ b/dcm/dcm.pc @@ -525,7 +525,9 @@ int dcm_execute(char *service, char *host, char *script) return MR_CANT_CONNECT; } - code = mr_send_auth(conn, host); + code = mr_send_krb5_auth(conn, host); + if (code) + code = mr_send_auth(conn, host); if (code) { com_err(whoami, code, "authenticating to %s", host);