|
Lines 50-59
RCSID("$OpenBSD: auth.c,v 1.57 2005/01/2
Link Here
|
| 50 |
#include "misc.h" |
50 |
#include "misc.h" |
| 51 |
#include "bufaux.h" |
51 |
#include "bufaux.h" |
| 52 |
#include "packet.h" |
52 |
#include "packet.h" |
|
|
53 |
#include "monitor_wrap.h" |
| 53 |
|
54 |
|
| 54 |
/* import */ |
55 |
/* import */ |
| 55 |
extern ServerOptions options; |
56 |
extern ServerOptions options; |
| 56 |
extern Buffer loginmsg; |
57 |
extern Buffer loginmsg; |
|
|
58 |
extern int use_privsep; |
| 57 |
|
59 |
|
| 58 |
/* Debugging messages */ |
60 |
/* Debugging messages */ |
| 59 |
Buffer auth_debug; |
61 |
Buffer auth_debug; |
|
Lines 227-232
auth_log(Authctxt *authctxt, int authent
Link Here
|
| 227 |
authctxt->failures >= options.max_authtries / 2 || |
229 |
authctxt->failures >= options.max_authtries / 2 || |
| 228 |
strcmp(method, "password") == 0) |
230 |
strcmp(method, "password") == 0) |
| 229 |
authlog = logit; |
231 |
authlog = logit; |
|
|
232 |
|
| 233 |
if (use_privsep && !mm_is_monitor()) |
| 234 |
authlog = debug; |
| 230 |
|
235 |
|
| 231 |
if (authctxt->postponed) |
236 |
if (authctxt->postponed) |
| 232 |
authmsg = "Postponed"; |
237 |
authmsg = "Postponed"; |