]> andersk Git - moira.git/commitdiff
dcm_execute() needs to attempt krb5 first, too.
authorzacheiss <zacheiss>
Tue, 8 Sep 2009 22:00:20 +0000 (22:00 +0000)
committerzacheiss <zacheiss>
Tue, 8 Sep 2009 22:00:20 +0000 (22:00 +0000)
dcm/dcm.pc

index 7117412b600aae26ad528042577c1b1779f30f8b..2e4ff14007adcf4f5dadf3359dc684dafd540bb8 100644 (file)
@@ -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);
This page took 0.028922 seconds and 5 git commands to generate.