summaryrefslogtreecommitdiff
path: root/servconf.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-15 14:16:41 +1000
committerDamien Miller <djm@mindrot.org>2003-05-15 14:16:41 +1000
commit156cbe8c67d1824745c17efe0ec42487be9a5d28 (patch)
tree655adce21814ecf040280ea525f90701bd09b5ab /servconf.c
parentd248b5bd1bc1999a4d5d5ba7b433fc50e267baf6 (diff)
- (djm) Enable UsePAM when built --with-pam
Diffstat (limited to 'servconf.c')
-rw-r--r--servconf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/servconf.c b/servconf.c
index 92d3170b2..5840961e3 100644
--- a/servconf.c
+++ b/servconf.c
@@ -131,7 +131,11 @@ fill_default_server_options(ServerOptions *options)
131{ 131{
132 /* Portable-specific options */ 132 /* Portable-specific options */
133 if (options->use_pam == -1) 133 if (options->use_pam == -1)
134#ifdef USE_PAM
135 options->use_pam = 1;
136#else
134 options->use_pam = 0; 137 options->use_pam = 0;
138#endif
135 139
136 /* Standard Options */ 140 /* Standard Options */
137 if (options->protocol == SSH_PROTO_UNKNOWN) 141 if (options->protocol == SSH_PROTO_UNKNOWN)