diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/userinfo.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |