summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2005-04-21 12:21:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:36 -0500
commit5c521587c99f1da49af4e8fb37282796fc531bc8 (patch)
treeb749f3809e9866139a0b9a4abb38b21cc4beebd2
parentadcd33c9067b19d507abcea4fe76f725d02e9863 (diff)
downloadsamba-5c521587c99f1da49af4e8fb37282796fc531bc8.tar.gz
samba-5c521587c99f1da49af4e8fb37282796fc531bc8.tar.bz2
samba-5c521587c99f1da49af4e8fb37282796fc531bc8.zip
r6419: Fix strange behaviour of NET-USERDEL where account doesn't actually
gets deleted. rafal (This used to be commit f78d1e4b35c7cb3d983da0bcb2717627b787d9f9)
-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);