From 4b0309363dbfb9a1409e082b3a84f17b53a751c1 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 19 Nov 2010 14:16:10 -0500 Subject: Print correct error messages for dp_err_to_string() All errnum values passed into this function throughout the code are PAM error codes, but we were passing them through strerror() to print them, which is only meaningful for ERRNO error codes. This patch changes dp_err_to_string() to use pam_strerror() and renames it to dp_pam_err_to_string() for clarity. https://fedorahosted.org/sssd/ticket/636 --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 102149a8c..6d91cf695 100644 --- a/Makefile.am +++ b/Makefile.am @@ -403,7 +403,8 @@ sssd_be_SOURCES = \ sssd_be_LDADD = $(SSSD_LIBS) $(CARES_LIBS) sssd_be_LDFLAGS = \ -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \ - -export-dynamic + -export-dynamic \ + $(PAM_LIBS) if BUILD_PYTHON_BINDINGS sss_obfuscate_pythondir = $(sbindir) -- cgit