summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/configure.in2
-rw-r--r--source3/smbd/server.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 094e8c85e7..4d07224194 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 a767014232..e2fe2ac819 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);