diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-18 08:03:06 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-18 08:03:06 +0000 |
commit | 20f1530a11402a926cdd7b4d1f9dddb360985196 (patch) | |
tree | 798a4661a94de12633bbfa03d4487c216513cd1d /source4/librpc/rpc/rpc_samr.c | |
parent | 30daed2f7cc4baa69a31f139aaa5b5b260febc15 (diff) | |
download | samba-20f1530a11402a926cdd7b4d1f9dddb360985196.tar.gz samba-20f1530a11402a926cdd7b4d1f9dddb360985196.tar.bz2 samba-20f1530a11402a926cdd7b4d1f9dddb360985196.zip |
changed wks to wkssvc (suggestion from metze). Started adding samr_CreateUser().
(This used to be commit 04e9269c1e37c9c2984ee2886fa6c0eda5c19669)
Diffstat (limited to 'source4/librpc/rpc/rpc_samr.c')
-rw-r--r-- | source4/librpc/rpc/rpc_samr.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/source4/librpc/rpc/rpc_samr.c b/source4/librpc/rpc/rpc_samr.c index 4ae1977c78..a35b6a136f 100644 --- a/source4/librpc/rpc/rpc_samr.c +++ b/source4/librpc/rpc/rpc_samr.c @@ -255,21 +255,21 @@ NTSTATUS dcerpc_samr_EnumDomainGroups(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx return status; } -NTSTATUS dcerpc_samr_CREATE_USER_IN_DOMAIN(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_CREATE_USER_IN_DOMAIN *r) +NTSTATUS dcerpc_samr_CreateUser(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_CreateUser *r) { NTSTATUS status; if (p->flags & DCERPC_DEBUG_PRINT_IN) { - NDR_PRINT_IN_DEBUG(samr_CREATE_USER_IN_DOMAIN, r); + NDR_PRINT_IN_DEBUG(samr_CreateUser, r); } - status = dcerpc_ndr_request(p, DCERPC_SAMR_CREATE_USER_IN_DOMAIN, mem_ctx, - (ndr_push_fn_t) ndr_push_samr_CREATE_USER_IN_DOMAIN, - (ndr_pull_fn_t) ndr_pull_samr_CREATE_USER_IN_DOMAIN, + status = dcerpc_ndr_request(p, DCERPC_SAMR_CREATEUSER, mem_ctx, + (ndr_push_fn_t) ndr_push_samr_CreateUser, + (ndr_pull_fn_t) ndr_pull_samr_CreateUser, r); if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) { - NDR_PRINT_OUT_DEBUG(samr_CREATE_USER_IN_DOMAIN, r); + NDR_PRINT_OUT_DEBUG(samr_CreateUser, r); } if (NT_STATUS_IS_OK(status)) status = r->out.result; @@ -339,21 +339,21 @@ NTSTATUS dcerpc_samr_EnumDomainAliases(struct dcerpc_pipe *p, TALLOC_CTX *mem_ct return status; } -NTSTATUS dcerpc_samr_GET_ALIAS_MEMBERSHIP(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_GET_ALIAS_MEMBERSHIP *r) +NTSTATUS dcerpc_samr_GetAliasMembership(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_GetAliasMembership *r) { NTSTATUS status; if (p->flags & DCERPC_DEBUG_PRINT_IN) { - NDR_PRINT_IN_DEBUG(samr_GET_ALIAS_MEMBERSHIP, r); + NDR_PRINT_IN_DEBUG(samr_GetAliasMembership, r); } - status = dcerpc_ndr_request(p, DCERPC_SAMR_GET_ALIAS_MEMBERSHIP, mem_ctx, - (ndr_push_fn_t) ndr_push_samr_GET_ALIAS_MEMBERSHIP, - (ndr_pull_fn_t) ndr_pull_samr_GET_ALIAS_MEMBERSHIP, + status = dcerpc_ndr_request(p, DCERPC_SAMR_GETALIASMEMBERSHIP, mem_ctx, + (ndr_push_fn_t) ndr_push_samr_GetAliasMembership, + (ndr_pull_fn_t) ndr_pull_samr_GetAliasMembership, r); if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) { - NDR_PRINT_OUT_DEBUG(samr_GET_ALIAS_MEMBERSHIP, r); + NDR_PRINT_OUT_DEBUG(samr_GetAliasMembership, r); } if (NT_STATUS_IS_OK(status)) status = r->out.result; @@ -738,21 +738,21 @@ NTSTATUS dcerpc_samr_OpenUser(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct return status; } -NTSTATUS dcerpc_samr_DELETE_DOM_USER(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_DELETE_DOM_USER *r) +NTSTATUS dcerpc_samr_DeleteUser(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_DeleteUser *r) { NTSTATUS status; if (p->flags & DCERPC_DEBUG_PRINT_IN) { - NDR_PRINT_IN_DEBUG(samr_DELETE_DOM_USER, r); + NDR_PRINT_IN_DEBUG(samr_DeleteUser, r); } - status = dcerpc_ndr_request(p, DCERPC_SAMR_DELETE_DOM_USER, mem_ctx, - (ndr_push_fn_t) ndr_push_samr_DELETE_DOM_USER, - (ndr_pull_fn_t) ndr_pull_samr_DELETE_DOM_USER, + status = dcerpc_ndr_request(p, DCERPC_SAMR_DELETEUSER, mem_ctx, + (ndr_push_fn_t) ndr_push_samr_DeleteUser, + (ndr_pull_fn_t) ndr_pull_samr_DeleteUser, r); if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) { - NDR_PRINT_OUT_DEBUG(samr_DELETE_DOM_USER, r); + NDR_PRINT_OUT_DEBUG(samr_DeleteUser, r); } if (NT_STATUS_IS_OK(status)) status = r->out.result; |