diff options
Diffstat (limited to 'source4/smbd/process.c')
-rw-r--r-- | source4/smbd/process.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/smbd/process.c b/source4/smbd/process.c index b5138ac971..411ffef717 100644 --- a/source4/smbd/process.c +++ b/source4/smbd/process.c @@ -765,7 +765,7 @@ void init_smbsession(struct event_context *ev, struct model_ops *model_ops, int event_add_fd(ev, &fde); /* setup the DCERPC server subsystem */ - dcesrv_init(&smb->dcesrv); + dcesrv_init_context(&smb->dcesrv); } @@ -825,6 +825,10 @@ void smbd_process_init(void) if (!ntvfs_init()) exit(1); + /* Setup the DCERPC subsystem */ + if (!dcesrv_init()) + exit(1); + /* re-initialise the timezone */ TimeInit(); |