summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-07-23 17:42:29 +1000
committerDamien Miller <djm@mindrot.org>2008-07-23 17:42:29 +1000
commit212f0b08790c415648db250797b1b060b62a015d (patch)
tree87b163e4a274131ef0f99ce17aff2d2f255d3b22
parent6ef430dcc357f9e8fe02a057840538939b45602a (diff)
- (djm) [servconf.c] Print UsePAM option in config test mode (when it
has been compiled in); report from nix-corp AT esperi.org.uk ok dtucker@
-rw-r--r--ChangeLog5
-rw-r--r--servconf.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 85af46f8..99b450ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
do not try to print options that have been compile-time disabled
in config test mode (sshd -T); report from nix-corp AT esperi.org.uk
ok dtucker@
+ - (djm) [servconf.c] Print UsePAM option in config test mode (when it
+ has been compiled in); report from nix-corp AT esperi.org.uk
+ ok dtucker@
20080721
- (djm) OpenBSD CVS Sync
@@ -4718,4 +4721,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
-$Id: ChangeLog,v 1.5096 2008/07/23 07:40:04 djm Exp $
+$Id: ChangeLog,v 1.5097 2008/07/23 07:42:29 djm Exp $
diff --git a/servconf.c b/servconf.c
index 72746d34..53e964de 100644
--- a/servconf.c
+++ b/servconf.c
@@ -1544,6 +1544,9 @@ dump_config(ServerOptions *o)
}
/* integer arguments */
+#ifdef USE_PAM
+ dump_cfg_int(sUsePAM, o->use_pam);
+#endif
dump_cfg_int(sServerKeyBits, o->server_key_bits);
dump_cfg_int(sLoginGraceTime, o->login_grace_time);
dump_cfg_int(sKeyRegenerationTime, o->key_regeneration_time);