On 11/12/2012 16:29, TAKAHASHI Motonobu wrote:
From: Dominique <[email protected]>
Date: Tue, 11 Dec 2012 16:08:06 +0100

On 11/12/2012 15:43, TAKAHASHI Motonobu wrote:
From: Dominique <[email protected]>
Date: Tue, 11 Dec 2012 13:45:51 +0100

I've got samba3 on ubuntu 12 up and running with one exception. I try to
get password complexity working to no avail.
I understood I needed crackcheck, which in turn needed to be compiled.
I downloaded the samba-doc package, and tried to compile crackcheck with a
simple make, but all it returns is failure with the following error:
crackcheck.c:6:19: fatal error: crack.h: No such file or directory
You need to install the library of cracklib. For ubuntu, libcrack2-dev is
its package name.
That got rid of that error.And of course a new one shows...

gcc  -O2   -c -o crackcheck.o crackcheck.c
crackcheck.c: In function âmainâ:
crackcheck.c:132:8: warning: assignment discards âconstâ qualifier from
pointer target type [enabled by default]
gcc  -O2 -lcrack -o crackcheck crackcheck.o
crackcheck.o: In function `main':
crackcheck.c:(.text.startup+0xc4): undefined reference to `FascistCheck'
collect2: ld returned 1 exit status
make: *** [crackcheck] Error 1

Any ideas for that one?
Did you install libcrack2-dev with apt/aptitude or such kind of tool?
Packages that libcrack2-dev depends on are also needed.

In my environment, wamerican, libcrack2 and cracklib-runtime are also
installed with libcrack2-dev.

---
TAKAHASHI Motonobu <[email protected]>


Hi,

The install was done through apt. All the libraries you mention are installed, and still the same error. I am running the 64 bit version of Ubuntu 12.04. Can that interfere with the process?

Dominique

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to