s4-process_single: Use pid,task_id as cluster_id in process_single just like process_...
authorAndrew Bartlett <abartlet@samba.org>
Fri, 25 Jan 2013 12:00:12 +0000 (23:00 +1100)
committerStefan Metzmacher <metze@samba.org>
Sat, 26 Jan 2013 15:13:04 +0000 (16:13 +0100)
commitb9f1c8887ed1c8c29259021d4f2b9a549caa4061
tree5066c851643fc1c51fe99a328cba648a87827582
parenta321dd3aafa0f6ec8b39cd4fc64146dfbf24ce65
s4-process_single: Use pid,task_id as cluster_id in process_single just like process_prefork

This avoids two different process single task servers (eg the drepl
server) sharing the same server id.  The task id starts at 2^31 to
avoid collision with the fd based scheme for connections.

Fix-bug: https://bugzilla.samba.org/show_bug.cgi?id=9598

Reported-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Jan 26 16:13:05 CET 2013 on sn-devel-104
source4/smbd/process_single.c