summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libnet/libnet_user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libnet/libnet_user.c b/source4/libnet/libnet_user.c
index 2086b7673d..a52bc6527c 100644
--- a/source4/libnet/libnet_user.c
+++ b/source4/libnet/libnet_user.c
@@ -986,6 +986,7 @@ static void continue_domain_open_userlist(struct composite_context *ctx)
/* receive lsa domain handle */
c->status = libnet_DomainOpen_recv(ctx, s->ctx, c, &s->domain_open);
+ if (!composite_is_ok(c)) return;
/* prepare arguments */
s->user_list.in.handle = &s->ctx->lsa.handle;