mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
0c0dfe4da5
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)
13 lines
230 B
C
13 lines
230 B
C
#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);
|
|
return 0;
|
|
}
|