summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-12-09 16:23:57 +0000
committerLuke Leighton <lkcl@samba.org>1998-12-09 16:23:57 +0000
commit1f989cda944f21b3ba829e1008f1189d2d3671a8 (patch)
tree6a2dae65450c1c0312722e5737155e090adf63c4 /source3/nmbd
parentcfba976fc234a4b9f1712d42dca405b25b314401 (diff)
downloadsamba-1f989cda944f21b3ba829e1008f1189d2d3671a8.tar.gz
samba-1f989cda944f21b3ba829e1008f1189d2d3671a8.tar.bz2
samba-1f989cda944f21b3ba829e1008f1189d2d3671a8.zip
need to initialise global_myworkgroup
(This used to be commit 501617307f3b9bbad76406d00b1bc82f5cb479a6)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index d44fe5507c..c266043c2c 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -677,6 +677,11 @@ static void usage(char *pname)
reload_services( True );
+ if (!pwdb_init_myworkgroup())
+ {
+ exit(1);
+ }
+
set_samba_nb_type();
if (!is_daemon && !is_a_socket(0))