-/* $OpenBSD: auth.h,v 1.50 2004/05/23 23:59:53 dtucker Exp $ */
+/* $OpenBSD: auth.h,v 1.52 2006/03/25 22:22:42 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
#include "key.h"
#include "hostfile.h"
+#include "buffer.h"
#include <openssl/rsa.h>
#ifdef HAVE_LOGIN_CAP
char *krb5_ticket_file;
char *krb5_ccname;
#endif
+ Buffer *loginmsg;
void *methoddata;
};
/*
#endif
#include "auth-pam.h"
+#include "audit.h"
+void remove_kbdint_device(const char *);
+
void disable_forwarding(void);
void do_authentication(Authctxt *);
int verify_response(Authctxt *, const char *);
void abandon_challenge_response(Authctxt *);
-char *expand_filename(const char *, struct passwd *);
char *authorized_keys_file(struct passwd *);
char *authorized_keys_file2(struct passwd *);
struct passwd *fakepw(void);
+int sys_auth_passwd(Authctxt *, const char *);
+
#define AUTH_FAIL_MSG "Too many authentication failures for %.100s"
#define SKEY_PROMPT "\nS/Key Password: "
+
+#if defined(KRB5) && !defined(HEIMDAL)
+#include <krb5.h>
+krb5_error_code ssh_krb5_cc_gen(krb5_context, krb5_ccache *);
+#endif
#endif