mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Add LMHASH detection
This commit is contained in:
parent
d531a20f52
commit
7e0d6fa969
2 changed files with 736 additions and 680 deletions
17
configure.in
17
configure.in
|
|
@ -149,6 +149,7 @@ OL_ARG_ENABLE(slapd,[ --enable-slapd enable building slapd], yes)dnl
|
||||||
OL_ARG_ENABLE(cleartext,[ --enable-cleartext enable cleartext passwords], yes)dnl
|
OL_ARG_ENABLE(cleartext,[ --enable-cleartext enable cleartext passwords], yes)dnl
|
||||||
OL_ARG_ENABLE(crypt,[ --enable-crypt enable crypt(3) passwords], auto)dnl
|
OL_ARG_ENABLE(crypt,[ --enable-crypt enable crypt(3) passwords], auto)dnl
|
||||||
OL_ARG_ENABLE(kpasswd,[ --enable-kpasswd enable Kerberos password verification], no)dnl
|
OL_ARG_ENABLE(kpasswd,[ --enable-kpasswd enable Kerberos password verification], no)dnl
|
||||||
|
OL_ARG_ENABLE(lmpasswd,[ --enable-lmpasswd enable LAN Manager passwords], auto)dnl
|
||||||
OL_ARG_ENABLE(spasswd,[ --enable-spasswd enable (Cyrus) SASL password verification], no)dnl
|
OL_ARG_ENABLE(spasswd,[ --enable-spasswd enable (Cyrus) SASL password verification], no)dnl
|
||||||
OL_ARG_ENABLE(modules,[ --enable-modules enable dynamic module support], no)dnl
|
OL_ARG_ENABLE(modules,[ --enable-modules enable dynamic module support], no)dnl
|
||||||
dnl OL_ARG_ENABLE(multimaster,[ --enable-multimaster enable multimaster replication], no)dnl
|
dnl OL_ARG_ENABLE(multimaster,[ --enable-multimaster enable multimaster replication], no)dnl
|
||||||
|
|
@ -378,6 +379,12 @@ if test $ol_enable_slurpd = yes ; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test $ol_enable_lmpasswd = yes ; then
|
||||||
|
if test $ol_with_tls = no ; then
|
||||||
|
AC_MSG_ERROR([LAN Manager passwords require OpenSSL])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if test $ol_enable_kbind = yes -o $ol_enable_kpasswd = yes ; then
|
if test $ol_enable_kbind = yes -o $ol_enable_kpasswd = yes ; then
|
||||||
if test $ol_with_kerberos = no ; then
|
if test $ol_with_kerberos = no ; then
|
||||||
AC_MSG_ERROR([options require --with-kerberos])
|
AC_MSG_ERROR([options require --with-kerberos])
|
||||||
|
|
@ -1073,6 +1080,16 @@ elif test $ol_with_tls != no ; then
|
||||||
AC_ERROR([Could not locate TLS/SSL package])
|
AC_ERROR([Could not locate TLS/SSL package])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl ----------------------------------------------------------------
|
||||||
|
dnl LAN Manger password checking requires DES from OpenSSL
|
||||||
|
if test $ol_enable_lmhash != no; then
|
||||||
|
if test $ol_link_tls != yes ; then
|
||||||
|
AC_ERROR([LAN Manager passwords require OpenSSL])
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_DEFINE(SLAPD_LMHASH, 1, [define to support LAN Manager passwords])
|
||||||
|
fi
|
||||||
|
|
||||||
dnl ----------------------------------------------------------------
|
dnl ----------------------------------------------------------------
|
||||||
dnl Tests for reentrant functions necessary to build a
|
dnl Tests for reentrant functions necessary to build a
|
||||||
dnl thread_safe -lldap.
|
dnl thread_safe -lldap.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue