summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-03-16 16:32:28 +0100
committerStefan Metzmacher <metze@samba.org>2012-06-25 20:55:06 +0200
commitc36bd677f325f052869418d3e74811e86567d206 (patch)
tree355eca441d93af7b45c8683a59d15610e2d2ff34 /source3/smbd/server.c
parent80f9abf637c0959666b6d8d79dd8efb4115a1f3f (diff)
downloadsamba-c36bd677f325f052869418d3e74811e86567d206.tar.gz
samba-c36bd677f325f052869418d3e74811e86567d206.tar.bz2
samba-c36bd677f325f052869418d3e74811e86567d206.zip
s3:smbd: add smbXsrv_tcon infrastructure
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 575c42a6f0..661c2fa7a7 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1392,8 +1392,13 @@ extern void build_options(bool screen);
exit(1);
}
- if (!connections_init(True))
+ if (!connections_init(true)) {
exit(1);
+ }
+ status = smbXsrv_tcon_global_init();
+ if (!NT_STATUS_IS_OK(status)) {
+ exit(1);
+ }
if (!locking_init())
exit(1);