summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2006-11-16 23:40:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:28:19 -0500
commite8f77306dd4cf7c54b1d3593f36781b1ce1a0eca (patch)
treee62cad01004fc2f2aa62c1d4bd320d3ae9964357 /source4/libnet
parent5b05f5f5f1bad489091c715867eddda7eff4c8c6 (diff)
downloadsamba-e8f77306dd4cf7c54b1d3593f36781b1ce1a0eca.tar.gz
samba-e8f77306dd4cf7c54b1d3593f36781b1ce1a0eca.tar.bz2
samba-e8f77306dd4cf7c54b1d3593f36781b1ce1a0eca.zip
r19753: verify result of received request before sending the next one.
I don't know why I forgot this... rafal (This used to be commit d5f7141a6c76d80d564500d59fd07cc8edb8127d)
Diffstat (limited to 'source4/libnet')
-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;