diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-04 17:50:04 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-05 11:06:23 +0200 |
commit | 9cc52e8411c5b5bda73bbbe58d98a73ebd671b65 (patch) | |
tree | 6b4e9cf530fb3aca99af1f2ed42849430e797f36 /source3/smbd/server.c | |
parent | a27bd84bf827fc3f7efe6afb6329d98a20a00389 (diff) | |
download | samba-9cc52e8411c5b5bda73bbbe58d98a73ebd671b65.tar.gz samba-9cc52e8411c5b5bda73bbbe58d98a73ebd671b65.tar.bz2 samba-9cc52e8411c5b5bda73bbbe58d98a73ebd671b65.zip |
s3: Add msg_ctx to smbd_server_connection
It would be obvious to initialize this in smbd_init_globals(), but there the
messaging_context can't be initialized yet because we don't have smb.conf
loaded yet.
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r-- | source3/smbd/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 3660abb659..7b788e8d1a 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1013,6 +1013,8 @@ extern void build_options(bool screen); exit(1); } + smbd_server_conn->msg_ctx = smbd_messaging_context(); + smbd_setup_sig_term_handler(); smbd_setup_sig_hup_handler(); |