From dc4cdb7c60a3078015dbee2c765ce99fd1a5c3e9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 15 Oct 2010 16:37:47 +0200 Subject: [PATCH] s3: Fix bug 7730 -- crash in winbindd_dsgetdcname.c --- source3/winbindd/wb_dsgetdcname.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/source3/winbindd/wb_dsgetdcname.c b/source3/winbindd/wb_dsgetdcname.c index 994d14e..1334eb9 100644 --- a/source3/winbindd/wb_dsgetdcname.c +++ b/source3/winbindd/wb_dsgetdcname.c @@ -97,6 +97,10 @@ static void wb_dsgetdcname_done(struct tevent_req *subreq) tevent_req_nterror(req, status); return; } + if (!NT_STATUS_IS_OK(result)) { + tevent_req_nterror(req, result); + return; + } tevent_req_done(req); } -- 1.6.5.7