summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-30 15:44:01 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-30 17:55:11 +1000
commitf10c63810077a6759a9df4e9c653066f9f355d96 (patch)
tree6256f411577eb2aaeaf41b610bdc8c09bced3c96 /librpc
parent645e4bb436c9b194477e4a66d98577a76b0b6ad7 (diff)
downloadsamba-f10c63810077a6759a9df4e9c653066f9f355d96.tar.gz
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
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/server_id.idl3
1 files changed, 3 insertions, 0 deletions
diff --git a/librpc/idl/server_id.idl b/librpc/idl/server_id.idl
index ac2e9ab3182..554e428bf2b 100644
--- a/librpc/idl/server_id.idl
+++ b/librpc/idl/server_id.idl
@@ -11,6 +11,9 @@ interface server_id
const int NONCLUSTER_VNN = 0xFFFFFFFF;
+ /** Don't verify this unique id */
+ const int SERVERID_UNIQUE_ID_NOT_TO_VERIFY = 0xFFFFFFFFFFFFFFFFULL;
+
/* used to look like the following, note that unique_id was not
* marshalled at all...