From 0c0dfe4da56f52164da6e6633d2f8815d9d170fd Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 14 Jan 2004 01:14:22 +0000 Subject: Finish adding cracklib support - this adds the configure test to enable it, on machines that actually have a working cracklib, for which we have the correct path to the dictionary. Andrew Bartlett (This used to be commit 17518018c0264d2a8e4afbc712a22ef4a1a00003) --- source3/tests/crack.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/tests') diff --git a/source3/tests/crack.c b/source3/tests/crack.c index 1342887852..36119b3bbc 100644 --- a/source3/tests/crack.c +++ b/source3/tests/crack.c @@ -1,3 +1,10 @@ +#include + +#ifndef HAVE_CRACKLIB_DICTPATH +#ifndef CRACKLIB_DICTPATH +#define CRACKLIB_DICTPATH SAMBA_CRACKLIB_DICTPATH +#endif +#endif int main(int argc, char **argv) { FascistCheck("Foo", CRACKLIB_DICTPATH); -- cgit