]> andersk Git - openssh.git/blobdiff - auth-rhosts.c
- OpenBSD CVS Updates:
[openssh.git] / auth-rhosts.c
index f98df842c219e75aefbe4a37768a4fbf6e814ccf..f670276b90e462ccd28d857667e04f0768432e97 100644 (file)
@@ -1,22 +1,22 @@
 /*
- * 
+ *
  * auth-rhosts.c
- * 
+ *
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
- * 
+ *
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved
- * 
+ *
  * Created: Fri Mar 17 05:12:18 1995 ylo
- * 
+ *
  * Rhosts authentication.  This file contains code to check whether to admit
  * the login based on rhosts authentication.  This file also processes
  * /etc/hosts.equiv.
- * 
+ *
  */
 
 #include "includes.h"
-RCSID("$Id$");
+RCSID("$OpenBSD: auth-rhosts.c,v 1.14 2000/06/20 01:39:38 markus Exp $");
 
 #include "packet.h"
 #include "ssh.h"
@@ -30,7 +30,7 @@ RCSID("$Id$");
  * based on the file, and returns zero otherwise.
  */
 
-int 
+int
 check_rhosts_file(const char *filename, const char *hostname,
                  const char *ipaddr, const char *client_user,
                  const char *server_user)
@@ -146,7 +146,7 @@ check_rhosts_file(const char *filename, const char *hostname,
  * /etc/hosts.equiv will be considered (.rhosts and .shosts are ignored).
  */
 
-int 
+int
 auth_rhosts(struct passwd *pw, const char *client_user)
 {
        extern ServerOptions options;
@@ -205,7 +205,7 @@ auth_rhosts(struct passwd *pw, const char *client_user)
        if (stat(pw->pw_dir, &st) < 0) {
                log("Rhosts authentication refused for %.100s: no home directory %.200s",
                    pw->pw_name, pw->pw_dir);
-               packet_send_debug("Rhosts authentication refused for %.100: no home directory %.200s",
+               packet_send_debug("Rhosts authentication refused for %.100s: no home directory %.200s",
                                  pw->pw_name, pw->pw_dir);
                return 0;
        }
This page took 0.034594 seconds and 4 git commands to generate.