summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nmbd/nmbd.c6
-rw-r--r--source3/smbd/mangle.c1
2 files changed, 4 insertions, 3 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index bdafdd44fc..92c43f410e 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -567,7 +567,10 @@ static void usage(char *pname)
charset_initialise();
- if(!initialize_password_db())
+ if(!initialise_group_db())
+ exit(1);
+
+ if(!initialise_password_db())
exit(1);
#ifdef LMHOSTSFILE
@@ -768,4 +771,3 @@ static void usage(char *pname)
return(0);
} /* main */
-/* ========================================================================== */
diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c
index f0d5a9d85c..b829746a32 100644
--- a/source3/smbd/mangle.c
+++ b/source3/smbd/mangle.c
@@ -983,4 +983,3 @@ BOOL name_map_mangle(char *OutName, BOOL need83, int snum)
return(True);
} /* name_map_mangle */
-/* ========================================================================== */