1/* $OpenBSD: auth2-hostbased.c,v 1.11 2006/08/03 03:34:41 deraadt Exp $ */ |
2/* 3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26#include "includes.h" |
27 |
28#include <sys/types.h> 29 30#include <pwd.h> 31#include <string.h> 32#include <stdarg.h> 33 |
34#include "xmalloc.h" |
35#include "ssh2.h" |
36#include "packet.h" 37#include "buffer.h" 38#include "log.h" 39#include "servconf.h" 40#include "compat.h" |
41#include "key.h" |
42#include "hostfile.h" 43#include "auth.h" |
44#include "canohost.h" |
45#ifdef GSSAPI 46#include "ssh-gss.h" 47#endif |
48#include "monitor_wrap.h" 49#include "pathnames.h" 50 51/* import */ 52extern ServerOptions options; 53extern u_char *session_id2; 54extern u_int session_id2_len; 55 --- 136 unchanged lines hidden --- |