From f3a4d837117047b1e708945d61bf4bcf7762f8a5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 20 Nov 2003 07:20:59 +0000 Subject: started on samr_SetUserInfo() cope with the 'samrtorturetest' user already existing in the samr test (to cope with previously failed runs) (This used to be commit 47128b3d50b3481175a8b2580624316a4f7677db) --- source4/librpc/rpc/rpc_samr.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source4/librpc/rpc') diff --git a/source4/librpc/rpc/rpc_samr.c b/source4/librpc/rpc/rpc_samr.c index a3b06ef81d..76dd26ea05 100644 --- a/source4/librpc/rpc/rpc_samr.c +++ b/source4/librpc/rpc/rpc_samr.c @@ -780,21 +780,21 @@ NTSTATUS dcerpc_samr_QueryUserInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, s return status; } -NTSTATUS dcerpc_samr_SET_USERINFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_SET_USERINFO *r) +NTSTATUS dcerpc_samr_SetUserInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_SetUserInfo *r) { NTSTATUS status; if (p->flags & DCERPC_DEBUG_PRINT_IN) { - NDR_PRINT_IN_DEBUG(samr_SET_USERINFO, r); + NDR_PRINT_IN_DEBUG(samr_SetUserInfo, r); } - status = dcerpc_ndr_request(p, DCERPC_SAMR_SET_USERINFO, mem_ctx, - (ndr_push_fn_t) ndr_push_samr_SET_USERINFO, - (ndr_pull_fn_t) ndr_pull_samr_SET_USERINFO, + status = dcerpc_ndr_request(p, DCERPC_SAMR_SETUSERINFO, mem_ctx, + (ndr_push_fn_t) ndr_push_samr_SetUserInfo, + (ndr_pull_fn_t) ndr_pull_samr_SetUserInfo, r); if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) { - NDR_PRINT_OUT_DEBUG(samr_SET_USERINFO, r); + NDR_PRINT_OUT_DEBUG(samr_SetUserInfo, r); } if (NT_STATUS_IS_OK(status)) status = r->out.result; -- cgit