1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

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 89e9a88719)
This commit is contained in:
Rafal Szczesniak
2006-05-17 21:41:59 +00:00
committed by Gerald (Jerry) Carter
parent edee7dd8fd
commit 251ea035b5
2 changed files with 142 additions and 94 deletions

View File

@ -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);
}