summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-01-12 21:12:47 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-01-12 21:12:47 +0000
commitf203358fdb456c6b4626324ef47698d0ccdc08a5 (patch)
treefad47303cb4a25fbeba22dd2d6593de0d96be5e5 /source3
parent31a3842644d341906fcfeb57169ab9e6a021a48c (diff)
downloadsamba-f203358fdb456c6b4626324ef47698d0ccdc08a5.tar.gz
samba-f203358fdb456c6b4626324ef47698d0ccdc08a5.tar.bz2
samba-f203358fdb456c6b4626324ef47698d0ccdc08a5.zip
On systems without a working cracklib, ensure we don't include the header
(the actual call to crack was already in this #ifdef) Andrew Bartlett (This used to be commit 4a01f3dbb4a2e744b48bdb86c4d91ee4692d38e5)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/chgpasswd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c
index 07def7549e..692e82680d 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -49,6 +49,7 @@
#include "includes.h"
+#ifdef HAVE_WORKING_CRACKLIB
#include <crack.h>
#ifndef HAVE_CRACKLIB_DICTPATH
@@ -56,6 +57,7 @@
#define CRACKLIB_DICTPATH SAMBA_CRACKLIB_DICTPATH
#endif
#endif
+#endif
extern struct passdb_ops pdb_ops;