s3-smbd provide struct smbd_server_connection * to conn_snum_used
authorAndrew Bartlett <abartlet@samba.org>
Wed, 25 May 2011 03:00:22 +0000 (13:00 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 30 May 2011 22:32:07 +0000 (00:32 +0200)
commit8524924a460349a9aa56db475d771b8884fbe517
treee96bf4378c676fdf8f4d2ba6f993aea9837e315e
parentc981d4fa1269569a1c2db4bf72a67a357aacd69f
s3-smbd provide struct smbd_server_connection * to conn_snum_used

This provides the 'sconn' parameter to this key functions, that
is currently duplicated in dummysmbd.c, which causes duplicate symbol
issues in the waf build.

This has natrually caused a number of consequential changes across the
codebase, includning not passing a messaging context into initial
reload_services():

This causes problems because the global smbd_server_connection isn't
yet set up, as there isn't a connection here, just the initial
process.

Andrew Bartlett
12 files changed:
source3/include/proto.h
source3/lib/dummysmbd.c
source3/param/loadparm.c
source3/rpc_server/dfs/srv_dfs_nt.c
source3/rpc_server/spoolss/srv_spoolss_nt.c
source3/rpc_server/srvsvc/srv_srvsvc_nt.c
source3/smbd/conn.c
source3/smbd/lanman.c
source3/smbd/msdfs.c
source3/smbd/proto.h
source3/smbd/server.c
source3/smbd/server_reload.c