diff options
author | Simo Sorce <ssorce@redhat.com> | 2007-12-07 19:59:27 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2007-12-07 19:59:27 -0500 |
commit | 441e9206b5769ae9c86efd36e95b30a67886c843 (patch) | |
tree | 705dc3036342fc9b5639520faeaba976ba255117 /ipa-server | |
parent | 647063253e31f543246e271ba07ddbf9e1dd74ed (diff) | |
download | freeipa-441e9206b5769ae9c86efd36e95b30a67886c843.tar.gz freeipa-441e9206b5769ae9c86efd36e95b30a67886c843.tar.xz freeipa-441e9206b5769ae9c86efd36e95b30a67886c843.zip |
We need the OpenSSL Crypto lib for the DES and MD4 functions to generate NT
and LM hashes.
Diffstat (limited to 'ipa-server')
-rw-r--r-- | ipa-server/configure.ac | 10 | ||||
-rw-r--r-- | ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile.am | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/ipa-server/configure.ac b/ipa-server/configure.ac index 7492d4cf7..ec448c42d 100644 --- a/ipa-server/configure.ac +++ b/ipa-server/configure.ac @@ -131,6 +131,15 @@ dnl --------------------------------------------------------------------------- PKG_CHECK_MODULES(MOZLDAP, mozldap > 6) dnl --------------------------------------------------------------------------- +dnl - Check for OpenSSL Crypto library +dnl --------------------------------------------------------------------------- +dnl This is a very simple check, we should probably check also for MD4_Init and +dnl probably also the version we are using is recent enough +SSL_LIBS= +AC_CHECK_LIB(crypto, DES_set_key_unchecked, [SSL_LIBS="-lcrypto"]) +AC_SUBST(SSL_LIBS) + +dnl --------------------------------------------------------------------------- dnl - Check for Python dnl --------------------------------------------------------------------------- @@ -251,5 +260,6 @@ echo " cflags: ${CFLAGS} LDAP libs: ${LDAP_LIBS} KRB5 libs: ${KRB5_LIBS} + OpenSSL libs: ${SSL_LIBS} Maintainer mode: ${USE_MAINTAINER_MODE} " diff --git a/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile.am b/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile.am index 0f266d621..fea48fdd7 100644 --- a/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile.am +++ b/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/Makefile.am @@ -11,6 +11,7 @@ INCLUDES = \ $(MOZLDAP_CFLAGS) \ $(LDAP_CFLAGS) \ $(KRB5_CFLAGS) \ + $(SSL_CFLAGS) \ $(WARN_CFLAGS) \ $(NULL) @@ -27,6 +28,7 @@ libipa_pwd_extop_la_LDFLAGS = -avoid-version libipa_pwd_extop_la_LIBADD = \ $(KRB5_LIBS) \ + $(SSL_LIBS) \ $(MOZLDAP_LIBS) \ $(NULL) |