summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-03-30 00:03:37 +0000
committerLuke Leighton <lkcl@samba.org>2000-03-30 00:03:37 +0000
commitab847ba595dbfd4689b844eb90e9022b20c07a86 (patch)
treef217c7b407780b07b4c1a681f3d8a0ee4610a767
parent2334ca0889d28ff064ed4c848f29c7fdd12425bd (diff)
downloadsamba-ab847ba595dbfd4689b844eb90e9022b20c07a86.tar.gz
lonnie noticed that HAVE_PAM needs to be WITH_PAM.
-rw-r--r--source/auth/pass_check.c4
-rw-r--r--source/passdb/pass_check.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/auth/pass_check.c b/source/auth/pass_check.c
index c45e3a7799c..e4ef197af2c 100644
--- a/source/auth/pass_check.c
+++ b/source/auth/pass_check.c
@@ -32,7 +32,7 @@ static char this_salt[100] = "";
static char this_crypted[100] = "";
-#ifdef HAVE_PAM
+#ifdef WITH_PAM
/*******************************************************************
check on PAM authentication
********************************************************************/
@@ -729,7 +729,7 @@ core of password checking routine
static BOOL password_check(char *password)
{
-#ifdef HAVE_PAM
+#ifdef WITH_PAM
/* This falls through if the password check fails
- if HAVE_CRYPT is not defined this causes an error msg
saying Warning - no crypt available
diff --git a/source/passdb/pass_check.c b/source/passdb/pass_check.c
index c45e3a7799c..e4ef197af2c 100644
--- a/source/passdb/pass_check.c
+++ b/source/passdb/pass_check.c
@@ -32,7 +32,7 @@ static char this_salt[100] = "";
static char this_crypted[100] = "";
-#ifdef HAVE_PAM
+#ifdef WITH_PAM
/*******************************************************************
check on PAM authentication
********************************************************************/
@@ -729,7 +729,7 @@ core of password checking routine
static BOOL password_check(char *password)
{
-#ifdef HAVE_PAM
+#ifdef WITH_PAM
/* This falls through if the password check fails
- if HAVE_CRYPT is not defined this causes an error msg
saying Warning - no crypt available