summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/userman.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/libnet/userman.c b/source4/libnet/userman.c
index 6724206b2e..9a8c1d6035 100644
--- a/source4/libnet/userman.c
+++ b/source4/libnet/userman.c
@@ -314,11 +314,13 @@ struct composite_context *rpc_composite_userdel_send(struct dcerpc_pipe *p,
s = talloc_zero(c, struct userdel_state);
if (s == NULL) goto failure;
- s->pipe = p;
c->state = SMBCLI_REQUEST_SEND;
c->private = s;
c->event_ctx = dcerpc_event_context(p);
+ s->pipe = p;
+ s->domain_handle = io->in.domain_handle;
+
s->lookupname.in.domain_handle = &io->in.domain_handle;
s->lookupname.in.num_names = 1;
s->lookupname.in.names = talloc_zero(s, struct samr_String);