diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-20 07:20:59 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-20 07:20:59 +0000 |
commit | f3a4d837117047b1e708945d61bf4bcf7762f8a5 (patch) | |
tree | 87cfd02d316cf8486ff822403f029ad65ea503ab /source4/librpc/rpc/rpc_samr.c | |
parent | e2254cc18f41b0da449abd389b682fc9fcb8da6b (diff) | |
download | samba-f3a4d837117047b1e708945d61bf4bcf7762f8a5.tar.gz samba-f3a4d837117047b1e708945d61bf4bcf7762f8a5.tar.bz2 samba-f3a4d837117047b1e708945d61bf4bcf7762f8a5.zip |
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)
Diffstat (limited to 'source4/librpc/rpc/rpc_samr.c')
-rw-r--r-- | source4/librpc/rpc/rpc_samr.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; |