Relevant BUGIDs: report per email

Purpose of commit: bugfix

Commit summary:
---------------

Don't abort, if cracklib dictionaries were not found, but tell the
user that pam_cracklib will not be built.
This commit is contained in:
Thorsten Kukuk 2005-01-04 11:41:46 +00:00
parent 9390445e42
commit c012723f3a
3 changed files with 6 additions and 5 deletions

View File

@ -63,7 +63,9 @@ BerliOS Bugs are marked with (BerliOS #XXXX).
0.79: please submit patches for this section with actual code/doc
patches!
* pam_unix: don't log user unknown failure when he can be properly
authenticated by another module
authenticated by another module (t8m)
* configure: don't abort if no cracklib dictinaries were found, but
warn user that pam_cracklib will not be built.
0.78: Do Nov 18 14:48:36 CET 2004

5
configure vendored
View File

@ -6011,9 +6011,8 @@ for d in $DICT_DIR_CANDIDATES ; do
done
done
if test -z "$CRACKLIB_DICTPATH" ; then
{ { echo "$as_me:$LINENO: error: none found" >&5
echo "$as_me: error: none found" >&2;}
{ (exit 1); exit 1; }; }
{ echo "$as_me:$LINENO: WARNING: none found - pam_cracklib will not be built" >&5
echo "$as_me: WARNING: none found - pam_cracklib will not be built" >&2;}
else
echo "$as_me:$LINENO: result: $CRACKLIB_DICTPATH" >&5
echo "${ECHO_T}$CRACKLIB_DICTPATH" >&6

View File

@ -278,7 +278,7 @@ for d in $DICT_DIR_CANDIDATES ; do
done
done
if test -z "$CRACKLIB_DICTPATH" ; then
AC_MSG_ERROR(none found)
AC_MSG_WARN([none found - pam_cracklib will not be built])
else
AC_MSG_RESULT($CRACKLIB_DICTPATH)
fi