summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-16 01:10:03 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-16 01:10:03 +0000
commitc35b032180d28dcb11e93a8cd1e9dedd0feeefd1 (patch)
tree7ba707bd5707a6145791d17a2c02d04ed9db360b
parentd313dab5eea860bc36d9c4e259073850708080e1 (diff)
downloadsamba-c35b032180d28dcb11e93a8cd1e9dedd0feeefd1.tar.gz
samba-c35b032180d28dcb11e93a8cd1e9dedd0feeefd1.tar.bz2
samba-c35b032180d28dcb11e93a8cd1e9dedd0feeefd1.zip
remove a redundent second check for PAM
(This used to be commit dbc6f31df884268ba649c9d73c6e27eaa79d4cc4)
-rw-r--r--source4/libads/config.m419
1 files changed, 0 insertions, 19 deletions
diff --git a/source4/libads/config.m4 b/source4/libads/config.m4
index ed3609d2df..a4ff962a3d 100644
--- a/source4/libads/config.m4
+++ b/source4/libads/config.m4
@@ -226,22 +226,3 @@ if test x"$with_ldap_support" = x"yes"; then
AC_DEFINE_UNQUOTED(LDAP_SET_REBIND_PROC_ARGS, $pam_ldap_cv_ldap_set_rebind_proc, [Number of arguments to ldap_set_rebind_proc])
fi
fi
-
-# check for a PAM clear-text auth, accounts, password and session support
-with_pam_for_crypt=no
-AC_MSG_CHECKING(whether to use PAM)
-AC_ARG_WITH(pam,
-[ --with-pam Include PAM support (default=no)],
-[ case "$withval" in
- yes)
- AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_PAM,1,[Whether to include PAM support])
- AUTHLIBS="$AUTHLIBS -lpam"
- with_pam_for_crypt=yes
- ;;
- *)
- AC_MSG_RESULT(no)
- ;;
- esac ],
- AC_MSG_RESULT(no)
-)