summaryrefslogtreecommitdiffstats
path: root/auth-pam.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-02-11 12:39:19 +0100
committerDamien Miller <djm@mindrot.org>2001-02-11 12:39:19 +0100
commitac2b1a52f292f6e3f65906eaa047522b8ead3af0 (patch)
tree1cffaed18399bd67b5597858bf650459be13b2ea /auth-pam.c
parent - (djm) Set PAM_RHOST earlier, patch from Andrew Bartlett (diff)
downloadopenssh-ac2b1a52f292f6e3f65906eaa047522b8ead3af0.tar.xz
openssh-ac2b1a52f292f6e3f65906eaa047522b8ead3af0.zip
Oops - missed a bit of previous diff
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 4b2347292..9e0467f56 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -33,7 +33,7 @@
#include "canohost.h"
#include "readpass.h"
-RCSID("$Id: auth-pam.c,v 1.26 2001/02/11 11:35:12 djm Exp $");
+RCSID("$Id: auth-pam.c,v 1.27 2001/02/11 11:39:19 djm Exp $");
#define NEW_AUTHTOK_MSG \
"Warning: Your password has expired, please change it now"
@@ -224,7 +224,6 @@ int auth_pam_password(struct passwd *pw, const char *password)
int do_pam_account(char *username, char *remote_user)
{
int pam_retval;
- extern ServerOptions options;
pam_set_conv(&conv);
@@ -332,6 +331,7 @@ void finish_pam(void)
void start_pam(const char *user)
{
int pam_retval;
+ extern ServerOptions options;
debug("Starting up PAM with username \"%.200s\"", user);