From: Andrew Bartlett Date: Mon, 4 Mar 2019 02:15:08 +0000 (+1300) Subject: kcc: Give a better error message when samdb_ntds_objectGUID fails X-Git-Tag: talloc-2.2.0~150 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=30f93bc7ac783efa205652ff83c7c1ab663ca73a;p=samba.git kcc: Give a better error message when samdb_ntds_objectGUID fails Signed-off-by: Andrew Bartlett --- diff --git a/source4/dsdb/kcc/kcc_service.c b/source4/dsdb/kcc/kcc_service.c index 4710d5bcdf5..89d94f6af26 100644 --- a/source4/dsdb/kcc/kcc_service.c +++ b/source4/dsdb/kcc/kcc_service.c @@ -68,6 +68,7 @@ static WERROR kccsrv_connect_samdb(struct kccsrv_service *service, struct loadpa ntds_guid = samdb_ntds_objectGUID(service->samdb); if (!ntds_guid) { + DBG_ERR("Failed to determine own NTDS objectGUID\n"); return WERR_DS_UNAVAILABLE; }