mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
r24021: use MSG_BROADCAST_PID_STR as value for broadcast messages
to fix the cluster case vl: please check, if this works with clustering = no metze
This commit is contained in:
parent
68c786dafa
commit
9d4104b8d5
@ -148,7 +148,11 @@ struct server_id {
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef CLUSTER_SUPPORT
|
||||||
|
#define MSG_BROADCAST_PID_STR "0:0"
|
||||||
|
#else
|
||||||
|
#define MSG_BROADCAST_PID_STR "0"
|
||||||
|
#endif
|
||||||
|
|
||||||
struct messaging_context;
|
struct messaging_context;
|
||||||
struct messaging_rec;
|
struct messaging_rec;
|
||||||
|
@ -1148,7 +1148,7 @@ static struct server_id parse_dest(const char *dest)
|
|||||||
/* Zero is a special return value for broadcast smbd */
|
/* Zero is a special return value for broadcast smbd */
|
||||||
|
|
||||||
if (strequal(dest, "smbd")) {
|
if (strequal(dest, "smbd")) {
|
||||||
return interpret_pid("0");
|
return interpret_pid(MSG_BROADCAST_PID_STR);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Try self - useful for testing */
|
/* Try self - useful for testing */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user