summaryrefslogtreecommitdiff
path: root/source4/libnet/userman.c
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2006-05-17 21:41:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:04 -0500
commit251ea035b5742b540737bc4d625f6d0dc55b2276 (patch)
treefe2d1d75549d212cea8975769eb7891ab2cf1fd8 /source4/libnet/userman.c
parentedee7dd8fd07659458cfc6d0e656a93a607a8e33 (diff)
downloadsamba-251ea035b5742b540737bc4d625f6d0dc55b2276.tar.gz
r15663: Turn libnet_DeleteUser into async function and fix subtle bug probably
causing ejsnet test to segfault. Also, cleanup a bit and add monitor fn pointer to internal user delete libnet function. Time for some comments now. rafal (This used to be commit 89e9a887197380f13e0668e845d00e1050259331)
Diffstat (limited to 'source4/libnet/userman.c')
-rw-r--r--source4/libnet/userman.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/libnet/userman.c b/source4/libnet/userman.c
index 94358f1c0c2..2ffc6bbd963 100644
--- a/source4/libnet/userman.c
+++ b/source4/libnet/userman.c
@@ -369,7 +369,8 @@ static void userdel_handler(struct rpc_request *req)
*/
struct composite_context *libnet_rpc_userdel_send(struct dcerpc_pipe *p,
- struct libnet_rpc_userdel *io)
+ struct libnet_rpc_userdel *io,
+ void (*monitor)(struct monitor_msg*))
{
struct composite_context *c;
struct userdel_state *s;
@@ -449,7 +450,7 @@ NTSTATUS libnet_rpc_userdel(struct dcerpc_pipe *p,
TALLOC_CTX *mem_ctx,
struct libnet_rpc_userdel *io)
{
- struct composite_context *c = libnet_rpc_userdel_send(p, io);
+ struct composite_context *c = libnet_rpc_userdel_send(p, io, NULL);
return libnet_rpc_userdel_recv(c, mem_ctx, io);
}