summaryrefslogtreecommitdiff
path: root/source3/tests
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-01-12 12:18:11 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-01-12 12:18:11 +0000
commitb75b755a2ba78ad323d6a87fdbee78b1829f864f (patch)
treee7864e978d01f52a6ef9ce5604cf9b178d427341 /source3/tests
parent432f3be62ed7af5de3436bfc7b1ade4708c521f4 (diff)
downloadsamba-b75b755a2ba78ad323d6a87fdbee78b1829f864f.tar.gz
samba-b75b755a2ba78ad323d6a87fdbee78b1829f864f.tar.bz2
samba-b75b755a2ba78ad323d6a87fdbee78b1829f864f.zip
First stab at cracklib support (password quality checking) in Samba 3.0
This adds a configure test, that tries to find out if we have a working cracklib installation, and tries to pick up the debian hints on where the dictionary might be found. Default is per my Fedora Core 1 system - I'm not sure how much it changes. Andrew Bartlett (This used to be commit bc770edb788f0b6f719011cda683f045b76b7ba5)
Diffstat (limited to 'source3/tests')
-rw-r--r--source3/tests/crack.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/tests/crack.c b/source3/tests/crack.c
new file mode 100644
index 0000000000..1342887852
--- /dev/null
+++ b/source3/tests/crack.c
@@ -0,0 +1,5 @@
+
+int main(int argc, char **argv) {
+ FascistCheck("Foo", CRACKLIB_DICTPATH);
+ return 0;
+}