From 936d8e4a3508c5d7ec77cd325331161236b53cbc Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Wed, 2 Jul 2003 21:15:59 +0000 Subject: [PATCH] Fixing problems in the iconv discovery stuff in configure.in. This is the first part of the fix that at least allows configure to walk the list of supplied locations where libiconv etc might be found. aclocal.m4 also needs a fix, as does a later test. (This used to be commit 20786543139c546d112f8f6b6d4d796ee7fed609) --- source3/configure.in | 2 +- source3/smbd/server.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/configure.in b/source3/configure.in index 094e8c85e74..4d072241943 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1519,7 +1519,7 @@ dnl Try to find iconv(3) jm_ICONV($i) CPPFLAGS=$save_CPPFLAGS - if test -n "$ICONV_FOUND" ; then + if test "$ICONV_FOUND" = yes; then LDFLAGS=$save_LDFLAGS LIB_ADD_DIR(LDFLAGS, "$i/lib") CFLAGS_ADD_DIR(CPPFLAGS, "$i/include") diff --git a/source3/smbd/server.c b/source3/smbd/server.c index a767014232b..e2fe2ac819c 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -867,6 +867,7 @@ void build_options(BOOL screen); exit(1); } + if (!init_account_policy()) { DEBUG(0,("Could not open account policy tdb.\n")); exit(1); -- 2.11.4.GIT