diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2018-09-04 12:12:49 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-11-23 08:25:19 +0100 |
commit | 6c850b77c4ae6c4aa6d914f7ccedc2bcce939217 (patch) | |
tree | 70d8da9dc6b4e25e0c8a02213e81df615152e1df /source4/kdc | |
parent | 3315a28ea92438eca499fb87b863cbd2db50a6a6 (diff) | |
download | samba-6c850b77c4ae6c4aa6d914f7ccedc2bcce939217.tar.gz |
source4 smbd prefork: restart on non zero exit code
Restart any pre-fork master or worker process that exits with a non
zero exit code.
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/kdc/kdc-heimdal.c b/source4/kdc/kdc-heimdal.c index 67c07c3d81a..b5de5a790d4 100644 --- a/source4/kdc/kdc-heimdal.c +++ b/source4/kdc/kdc-heimdal.c @@ -276,7 +276,8 @@ static NTSTATUS kdc_task_init(struct task_server *task) return NT_STATUS_INVALID_DOMAIN_ROLE; case ROLE_DOMAIN_PDC: case ROLE_DOMAIN_BDC: - task_server_terminate(task, "Cannot start KDC as a 'classic Samba' DC", true); + task_server_terminate( + task, "Cannot start KDC as a 'classic Samba' DC", false); return NT_STATUS_INVALID_DOMAIN_ROLE; case ROLE_ACTIVE_DIRECTORY_DC: /* Yes, we want a KDC */ |