summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index b1b9192c09..ef27f0b7a4 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -833,10 +833,13 @@ static BOOL init_structs(void )
if (!init_registry())
exit(1);
+ if(!initialize_password_db(False))
+ exit(1);
+
if (!idmap_init())
exit(1);
- if(!initialize_password_db(False))
+ if (!idmap_init_wellknown_sids())
exit(1);
static_init_rpc;