The Samba-Bugzilla – Bug 3107
Swat password check fails because of wrong crypt()
Last modified: 2013-09-02 12:50:11 UTC
Samba 3.0.20 builds fine with ./configure; make; make install on slackware 8.1
Password authentication for Swat fails. It appears that the call to crypt() in
auth/pass_check.c:574 (or about) is not linked to the crypt() in libcrypt, but
to the one in libcrypto.
./configure finds both libraries, but the wrong one seems to get precedence. The
crypt() implementation in libcrypto.so doesn't handle the GNU MD5 extension right.
After removing -lcrypto from Makefile and recompiling, swat works fine.
libcrypt-2.2.5.so from glibc-2.2.5
libcrypto.so.0.9.6 from openssl-0.9.6d
Is this a bug in ./configure or is it a nasty feature?
The problme is that cups requires libcrypto.
We get the library listr from 'cups-config --libs'.
So you can either disable cups or compile to include
--with-pam (does SLackware use PAM?)
Do you have a patch other than manually removing the
cups is gone with 4.1