summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2007-02-19 22:25:37 +1100
committerDarren Tucker <dtucker@zip.com.au>2007-02-19 22:25:37 +1100
commit1629c07c0725fd5cc533c9664b8e8add27a81c69 (patch)
tree2954f5aba367319421509ea0100b76ab710260b5 /monitor.c
parent591322ae3897bef0b19236ec0c2a6053e8466e71 (diff)
- dtucker@cvs.openbsd.org 2007/02/19 10:45:58
[monitor_wrap.c servconf.c servconf.h monitor.c sshd_config.5] Teach Match how handle config directives that are used before authentication. This allows configurations such as permitting password authentication from the local net only while requiring pubkey from offsite. ok djm@, man page bits ok jmc@
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 48ae46ccc..02f2dc869 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor.c,v 1.89 2006/11/07 10:31:31 markus Exp $ */ 1/* $OpenBSD: monitor.c,v 1.90 2007/02/19 10:45:58 dtucker Exp $ */
2/* 2/*
3 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 3 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
4 * Copyright 2002 Markus Friedl <markus@openbsd.org> 4 * Copyright 2002 Markus Friedl <markus@openbsd.org>
@@ -642,6 +642,9 @@ mm_answer_pwnamallow(int sock, Buffer *m)
642#endif 642#endif
643 buffer_put_cstring(m, pwent->pw_dir); 643 buffer_put_cstring(m, pwent->pw_dir);
644 buffer_put_cstring(m, pwent->pw_shell); 644 buffer_put_cstring(m, pwent->pw_shell);
645 buffer_put_string(m, &options, sizeof(options));
646 if (options.banner != NULL)
647 buffer_put_cstring(m, options.banner);
645 648
646 out: 649 out:
647 debug3("%s: sending MONITOR_ANS_PWNAM: %d", __func__, allowed); 650 debug3("%s: sending MONITOR_ANS_PWNAM: %d", __func__, allowed);