diff options
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r-- | source3/nmbd/nmbd.c | 5 |
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)) |