summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2012-10-31 08:58:58 +1100
committerDamien Miller <djm@mindrot.org>2012-10-31 08:58:58 +1100
commit09d3e1251250dcf45e5434cd474430e4ec5e8639 (patch)
tree674ce6528821636740dce3a32ac1634b397643c9 /auth.h
parent07daed505f1cd6a0beff4d060b588debcc1ca8c8 (diff)
- djm@cvs.openbsd.org 2012/10/30 21:29:55
[auth-rsa.c auth.c auth.h auth2-pubkey.c servconf.c servconf.h] [sshd.c sshd_config sshd_config.5] new sshd_config option AuthorizedKeysCommand to support fetching authorized_keys from a command in addition to (or instead of) from the filesystem. The command is run as the target server user unless another specified via a new AuthorizedKeysCommandUser option. patch originally by jchadima AT redhat.com, reworked by me; feedback and ok markus@
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/auth.h b/auth.h
index 0d786c4d5..063404167 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.h,v 1.69 2011/05/23 03:30:07 djm Exp $ */ 1/* $OpenBSD: auth.h,v 1.70 2012/10/30 21:29:54 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -120,6 +120,10 @@ int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *);
120int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); 120int hostbased_key_allowed(struct passwd *, const char *, char *, Key *);
121int user_key_allowed(struct passwd *, Key *); 121int user_key_allowed(struct passwd *, Key *);
122 122
123struct stat;
124int auth_secure_path(const char *, struct stat *, const char *, uid_t,
125 char *, size_t);
126
123#ifdef KRB5 127#ifdef KRB5
124int auth_krb5(Authctxt *authctxt, krb5_data *auth, char **client, krb5_data *); 128int auth_krb5(Authctxt *authctxt, krb5_data *auth, char **client, krb5_data *);
125int auth_krb5_tgt(Authctxt *authctxt, krb5_data *tgt); 129int auth_krb5_tgt(Authctxt *authctxt, krb5_data *tgt);