s4-messaging: Fill in the whole server_id in all use cases
authorAndrew Bartlett <abartlet@samba.org>
Mon, 30 Apr 2012 05:44:01 +0000 (15:44 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 30 Apr 2012 07:55:11 +0000 (17:55 +1000)
commitf10c63810077a6759a9df4e9c653066f9f355d96
tree6256f411577eb2aaeaf41b610bdc8c09bced3c96
parent645e4bb436c9b194477e4a66d98577a76b0b6ad7
s4-messaging: Fill in the whole server_id in all use cases

This started per https://bugzilla.samba.org/show_bug.cgi?id=8872#c4
and avoids any possible collision with a different process.

We also need to ensure that across a Samba installation on a single
node that id.vnn is the same.  Samba4 previously used 0, while Samba3
used NONCLUSTER_VNN.  When a message is sent between these 'different'
nodes, the error NT_STATUS_INVALID_DEVICE_REQUEST is raised.

Andrew Bartlett
librpc/idl/server_id.idl
source3/include/serverid.h
source4/cluster/local.c
source4/lib/messaging/messaging.c