summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-29 14:49:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:53 -0500
commit3f5742e20b30010ef88e19b6ee41c6b071258aee (patch)
tree06ca13e711f78bbe7a39d592ff21662cafc90476 /source3/smbd/server.c
parentd3ed91d9e1f3ba9f3d5093b3607dd563b37c27ed (diff)
downloadsamba-3f5742e20b30010ef88e19b6ee41c6b071258aee.tar.gz
samba-3f5742e20b30010ef88e19b6ee41c6b071258aee.tar.bz2
samba-3f5742e20b30010ef88e19b6ee41c6b071258aee.zip
r23204: Add MSG_SMB_BRL_VALIDATE. Tridge, this is a bit different from your bzr
branch, please check if it fulfils your needs. Two changes: The validation is not done inside the brlock.c traverse_fn, it's done as a separate routine. Secondly, this patch does not call the checker routines in smbcontrol directly but depends on a running smbd. (This used to be commit 7e39d77c1f90d9025cab08918385d140e20ca25b)
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index fc1faa9d36..f837d38ac6 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -375,6 +375,7 @@ static BOOL open_sockets_smbd(enum smb_server_mode server_mode, const char *smb_
MSG_SMB_CONF_UPDATED, smb_conf_updated);
messaging_register(smbd_messaging_context(), NULL,
MSG_SMB_STAT_CACHE_DELETE, smb_stat_cache_delete);
+ brl_register_msgs(smbd_messaging_context());
#ifdef DEVELOPER
messaging_register(smbd_messaging_context(), NULL,
@@ -991,6 +992,7 @@ extern void build_options(BOOL screen);
}
/* Setup all the TDB's - including CLEAR_IF_FIRST tdb's. */
+
if (smbd_messaging_context() == NULL)
exit(1);