summaryrefslogtreecommitdiff
path: root/source3/tests
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-01-14 17:56:05 +0000
committerGerald Carter <jerry@samba.org>2004-01-14 17:56:05 +0000
commit8f6fe5bce39378a059a374461f2a4fd32f4cd3b1 (patch)
treebc9e2230934bc2801dbd1ebc80bc2dfafd23b1c1 /source3/tests
parent84b24610e5940fcf9e4a2f1813790b131dc7fbe7 (diff)
downloadsamba-8f6fe5bce39378a059a374461f2a4fd32f4cd3b1.tar.gz
samba-8f6fe5bce39378a059a374461f2a4fd32f4cd3b1.tar.bz2
samba-8f6fe5bce39378a059a374461f2a4fd32f4cd3b1.zip
syncing abartlet's cracklib tests from 3.0
(This used to be commit 64c1db9bce27bbe5bc28acb631b265419d6d6286)
Diffstat (limited to 'source3/tests')
-rw-r--r--source3/tests/crack.c7
1 files changed, 7 insertions, 0 deletions
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 <crack.h>
+
+#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);