diff options
author | Damien Miller <djm@mindrot.org> | 2000-12-20 13:34:48 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-12-20 13:34:48 +1100 |
commit | 82cf0ceea899d4c7a47bdec79eea6dc2a8576bc7 (patch) | |
tree | f9011833137c0c5589ebe0b5fb45da9ddc069bca /configure.in | |
parent | 28bfc0da69166bc1afe33cfb1a61dadce01169e2 (diff) |
- (djm) Workaround PAM inconsistencies between Solaris derived PAM code
and Linux-PAM. Based on report and fix from Andrew Morgan
<morgan@transmeta.com>
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 9f3b10c43..4601cd38b 100644 --- a/configure.in +++ b/configure.in | |||
@@ -88,6 +88,7 @@ case "$host" in | |||
88 | *-*-hpux11*) | 88 | *-*-hpux11*) |
89 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE" | 89 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE" |
90 | IPADDR_IN_DISPLAY=yes | 90 | IPADDR_IN_DISPLAY=yes |
91 | AC_DEFINE(PAM_SUN_CODEBASE) | ||
91 | AC_DEFINE(USE_PIPES) | 92 | AC_DEFINE(USE_PIPES) |
92 | AC_DEFINE(DISABLE_SHADOW) | 93 | AC_DEFINE(DISABLE_SHADOW) |
93 | AC_DEFINE(DISABLE_UTMP) | 94 | AC_DEFINE(DISABLE_UTMP) |
@@ -149,6 +150,7 @@ mips-sony-bsd|mips-sony-newsos4) | |||
149 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 150 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
150 | LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib -L/usr/ucblib -R/usr/ucblib" | 151 | LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib -L/usr/ucblib -R/usr/ucblib" |
151 | need_dash_r=1 | 152 | need_dash_r=1 |
153 | AC_DEFINE(PAM_SUN_CODEBASE) | ||
152 | # hardwire lastlog location (can't detect it on some versions) | 154 | # hardwire lastlog location (can't detect it on some versions) |
153 | conf_lastlog_location="/var/adm/lastlog" | 155 | conf_lastlog_location="/var/adm/lastlog" |
154 | AC_MSG_CHECKING(for obsolete utmp and wtmp in solaris2.x) | 156 | AC_MSG_CHECKING(for obsolete utmp and wtmp in solaris2.x) |
@@ -164,6 +166,7 @@ mips-sony-bsd|mips-sony-newsos4) | |||
164 | *-*-sunos4*) | 166 | *-*-sunos4*) |
165 | CPPFLAGS="$CPPFLAGS -DSUNOS4" | 167 | CPPFLAGS="$CPPFLAGS -DSUNOS4" |
166 | AC_CHECK_FUNCS(getpwanam) | 168 | AC_CHECK_FUNCS(getpwanam) |
169 | AC_DEFINE(PAM_SUN_CODEBASE) | ||
167 | conf_utmp_location=/etc/utmp | 170 | conf_utmp_location=/etc/utmp |
168 | conf_wtmp_location=/var/adm/wtmp | 171 | conf_wtmp_location=/var/adm/wtmp |
169 | conf_lastlog_location=/var/adm/lastlog | 172 | conf_lastlog_location=/var/adm/lastlog |
@@ -1614,6 +1617,13 @@ echo " Libraries: ${LIBS}" | |||
1614 | 1617 | ||
1615 | echo "" | 1618 | echo "" |
1616 | 1619 | ||
1620 | if test "x$PAM_MSG" = "xyes" ; then | ||
1621 | echo "PAM is enabled. You may need to install a PAM control file for sshd," | ||
1622 | echo "otherwise password authentication may fail. Example PAM control files" | ||
1623 | echo "can be found in the contrib/ subdirectory" | ||
1624 | echo "" | ||
1625 | fi | ||
1626 | |||
1617 | if test ! -z "$BUILTIN_RNG" ; then | 1627 | if test ! -z "$BUILTIN_RNG" ; then |
1618 | echo "WARNING: you are using the builtin random number collection service." | 1628 | echo "WARNING: you are using the builtin random number collection service." |
1619 | echo "Please read WARNING.RNG and request that your OS vendor includes" | 1629 | echo "Please read WARNING.RNG and request that your OS vendor includes" |