mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
dsdb periodic: Produce a debugging message if kccsrv_samba_kcc() fails
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
c07c91733c
commit
18b078a8b9
@ -740,9 +740,13 @@ static void kccsrv_periodic_run(struct kccsrv_service *service)
|
||||
|
||||
mem_ctx = talloc_new(service);
|
||||
|
||||
if (service->samba_kcc_code)
|
||||
if (service->samba_kcc_code) {
|
||||
status = kccsrv_samba_kcc(service);
|
||||
else {
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DBG_ERR("kccsrv_samba_kcc failed - %s\n",
|
||||
nt_errstr(status));
|
||||
}
|
||||
} else {
|
||||
status = kccsrv_simple_update(service, mem_ctx);
|
||||
if (!NT_STATUS_IS_OK(status))
|
||||
DEBUG(0,("kccsrv_simple_update failed - %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user