diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-01-12 21:12:47 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-01-12 21:12:47 +0000 |
commit | f203358fdb456c6b4626324ef47698d0ccdc08a5 (patch) | |
tree | fad47303cb4a25fbeba22dd2d6593de0d96be5e5 | |
parent | 31a3842644d341906fcfeb57169ab9e6a021a48c (diff) | |
download | samba-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)
-rw-r--r-- | source3/smbd/chgpasswd.c | 2 |
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; |