server_id: Change format to vnn:pid.task_id, pid.task_id or pid
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Jun 2011 01:18:15 +0000 (11:18 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 9 Jun 2011 10:40:09 +0000 (12:40 +0200)
commitdaf79e33c7e8873345fb4a251f1e880fd767df19
treead97087a857d7db7f7478d6057faabd830136152
parentf348d148b463ca61cbc48d2aadeaa099f7150425
server_id: Change format to vnn:pid.task_id, pid.task_id or pid

This helps ensure the string cannot be ambiguous, while also ensuring
that it remains simple in the non-cluster case.

The asymmetry of reading get_my_vnn() but writing based on
NONCLUSTER_VNN is acceptable because in the non-clustered case, they
are equal, and in the clustered case we will print the full string.

Andrew Bartlett
lib/util/server_id.c
source3/lib/util.c