diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/serverid.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c index e5532756e8..d567066a16 100644 --- a/source3/lib/serverid.c +++ b/source3/lib/serverid.c @@ -236,7 +236,11 @@ bool serverid_exists(const struct server_id *id) struct serverid_key key; TDB_DATA tdbkey; - if (lp_clustering() && !process_exists(*id)) { + if (!lp_clustering() && procid_is_me(id)) { + return true; + } + + if (!process_exists(*id)) { return false; } |