From 1ba24e868072e45e435c246b7b0c8782f5da9386 Mon Sep 17 00:00:00 2001 From: Rafal Szczesniak Date: Tue, 19 Sep 2006 00:25:55 +0000 Subject: r18657: handle the case where rpc call went fine, but the result not necessariy did. rafal (This used to be commit 69c379cc636d2ccd454ea21c7ccebf27dd84e40d) --- source4/libnet/userinfo.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/libnet/userinfo.c') diff --git a/source4/libnet/userinfo.c b/source4/libnet/userinfo.c index 9f1b97b670..cf00ae16ba 100644 --- a/source4/libnet/userinfo.c +++ b/source4/libnet/userinfo.c @@ -62,6 +62,9 @@ static NTSTATUS userinfo_lookup(struct composite_context *c, /* receive samr_Lookup reply */ c->status = dcerpc_ndr_request_recv(s->req); NT_STATUS_NOT_OK_RETURN(c->status); + + /* there could be a problem with name resolving itself */ + NT_STATUS_NOT_OK_RETURN(s->lookup.out.result); /* have we actually got name resolved - we're looking for only one at the moment */ -- cgit