summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-05-01 14:08:00 +0000
committerSimo Sorce <idra@samba.org>2003-05-01 14:08:00 +0000
commit7264b9df8fd2cfae2db4aca82ac737f47fdd5936 (patch)
tree3f7b2386f5993324f195921b97c952a7e976c9c4 /source3/smbd
parent75cace04fdcb672cc6c3c3ec8403206f2b222c50 (diff)
downloadsamba-7264b9df8fd2cfae2db4aca82ac737f47fdd5936.tar.gz
samba-7264b9df8fd2cfae2db4aca82ac737f47fdd5936.tar.bz2
samba-7264b9df8fd2cfae2db4aca82ac737f47fdd5936.zip
proper wellknown sids initialization at startup
(This used to be commit 568feee8977ee1be210344c8ab1896512894cba2)
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;