mirror of
https://github.com/samba-team/samba.git
synced 2025-11-01 16:23:49 +03:00
r20646: first preparations for cluster enablement. This changes "
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
14b485ba9c
commit
2365abaa99
@@ -292,7 +292,7 @@ NTSTATUS dcesrv_endpoint_connect(struct dcesrv_context *dce_ctx,
|
||||
struct auth_session_info *session_info,
|
||||
struct event_context *event_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
uint32_t server_id,
|
||||
struct server_id server_id,
|
||||
uint32_t state_flags,
|
||||
struct dcesrv_connection **_p)
|
||||
{
|
||||
@@ -344,7 +344,7 @@ _PUBLIC_ NTSTATUS dcesrv_endpoint_search_connect(struct dcesrv_context *dce_ctx,
|
||||
struct auth_session_info *session_info,
|
||||
struct event_context *event_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
uint32_t server_id,
|
||||
struct server_id server_id,
|
||||
uint32_t state_flags,
|
||||
struct dcesrv_connection **dce_conn_p)
|
||||
{
|
||||
|
||||
@@ -192,7 +192,7 @@ struct dcesrv_connection {
|
||||
struct messaging_context *msg_ctx;
|
||||
|
||||
/* the server_id that will be used for this connection */
|
||||
uint32_t server_id;
|
||||
struct server_id server_id;
|
||||
|
||||
/* the transport level session key */
|
||||
DATA_BLOB transport_session_key;
|
||||
|
||||
Reference in New Issue
Block a user