summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-15 09:39:48 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-15 09:39:48 +0000
commit4063fd08d4be4b9c91db092b0028f91941700d86 (patch)
tree771dde8a6f0bba358a5292a722186b30cf0b3c36 /source4/librpc/rpc
parent4cadb043d7a99f835a5893283b63bbe13281e665 (diff)
downloadsamba-4063fd08d4be4b9c91db092b0028f91941700d86.tar.gz
samba-4063fd08d4be4b9c91db092b0028f91941700d86.tar.bz2
samba-4063fd08d4be4b9c91db092b0028f91941700d86.zip
added samr_EnumDomainGroups and samr_EnumDomainUsers
(This used to be commit f8d690fb2bc0afcc8267caa4edcbeed9463594e5)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/rpc_samr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/librpc/rpc/rpc_samr.c b/source4/librpc/rpc/rpc_samr.c
index 98b294d044..e361de23b5 100644
--- a/source4/librpc/rpc/rpc_samr.c
+++ b/source4/librpc/rpc/rpc_samr.c
@@ -157,12 +157,12 @@ NTSTATUS dcerpc_samr_CREATE_DOM_GROUP(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx
return r->out.result;
}
-NTSTATUS dcerpc_samr_ENUM_DOM_GROUPS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_ENUM_DOM_GROUPS *r)
+NTSTATUS dcerpc_samr_EnumDomainGroups(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_EnumDomainGroups *r)
{
NTSTATUS status;
- status = dcerpc_ndr_request(p, DCERPC_SAMR_ENUM_DOM_GROUPS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_ENUM_DOM_GROUPS,
- (ndr_pull_fn_t) ndr_pull_samr_ENUM_DOM_GROUPS,
+ status = dcerpc_ndr_request(p, DCERPC_SAMR_ENUMDOMAINGROUPS, mem_ctx,
+ (ndr_push_fn_t) ndr_push_samr_EnumDomainGroups,
+ (ndr_pull_fn_t) ndr_pull_samr_EnumDomainGroups,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;
@@ -185,12 +185,12 @@ NTSTATUS dcerpc_samr_CREATE_USER_IN_DOMAIN(struct dcerpc_pipe *p, TALLOC_CTX *me
return r->out.result;
}
-NTSTATUS dcerpc_samr_ENUM_DOM_USERS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_ENUM_DOM_USERS *r)
+NTSTATUS dcerpc_samr_EnumDomainUsers(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_EnumDomainUsers *r)
{
NTSTATUS status;
- status = dcerpc_ndr_request(p, DCERPC_SAMR_ENUM_DOM_USERS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_ENUM_DOM_USERS,
- (ndr_pull_fn_t) ndr_pull_samr_ENUM_DOM_USERS,
+ status = dcerpc_ndr_request(p, DCERPC_SAMR_ENUMDOMAINUSERS, mem_ctx,
+ (ndr_push_fn_t) ndr_push_samr_EnumDomainUsers,
+ (ndr_pull_fn_t) ndr_pull_samr_EnumDomainUsers,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;