summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2018-08-29 13:16:08 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-11-07 17:55:09 +0100
commitb003134e0d1cdc235e00a602edd2e745233f98b8 (patch)
treebf40f4e43ec8d8a214b12bfcf2f2658d37f3bcb8 /source4/kdc
parentb543563ddf46e776fa4996fa4e4635684076cf80 (diff)
downloadsamba-b003134e0d1cdc235e00a602edd2e745233f98b8.tar.gz
source4 smbd: pass instance number to post_fork
Pass the instance number to the post_fork hook. This is required to allow the rpc_server to support the prefork process model. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/kdc-heimdal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/kdc-heimdal.c b/source4/kdc/kdc-heimdal.c
index 407de92054e..67c07c3d81a 100644
--- a/source4/kdc/kdc-heimdal.c
+++ b/source4/kdc/kdc-heimdal.c
@@ -316,7 +316,7 @@ static NTSTATUS kdc_task_init(struct task_server *task)
/*
initialise the kdc task after a fork
*/
-static void kdc_post_fork(struct task_server *task)
+static void kdc_post_fork(struct task_server *task, struct process_details *pd)
{
struct kdc_server *kdc;
krb5_kdc_configuration *kdc_config = NULL;