summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-15 10:03:12 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-15 10:03:12 +0000
commit42a25ebb75f29c9d67232312c99ecbd5555e50b2 (patch)
treebc1eab00d99c771b02f7b496220f91753cbc4ea1 /source4/librpc/rpc
parent4063fd08d4be4b9c91db092b0028f91941700d86 (diff)
downloadsamba-42a25ebb75f29c9d67232312c99ecbd5555e50b2.tar.gz
samba-42a25ebb75f29c9d67232312c99ecbd5555e50b2.tar.bz2
samba-42a25ebb75f29c9d67232312c99ecbd5555e50b2.zip
added samr_OpenUser, samr_EnumDomainAliases and samr_QueryUserInfo level 1
(This used to be commit e7edeec60e274c1460f7c8cc0fb4121b37e1bcd7)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/rpc_samr.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/source4/librpc/rpc/rpc_samr.c b/source4/librpc/rpc/rpc_samr.c
index e361de23b5..97298ffa06 100644
--- a/source4/librpc/rpc/rpc_samr.c
+++ b/source4/librpc/rpc/rpc_samr.c
@@ -213,12 +213,12 @@ NTSTATUS dcerpc_samr_CREATE_DOM_ALIAS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx
return r->out.result;
}
-NTSTATUS dcerpc_samr_ENUM_DOM_ALIASES(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_ENUM_DOM_ALIASES *r)
+NTSTATUS dcerpc_samr_EnumDomainAliases(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_EnumDomainAliases *r)
{
NTSTATUS status;
- status = dcerpc_ndr_request(p, DCERPC_SAMR_ENUM_DOM_ALIASES, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_ENUM_DOM_ALIASES,
- (ndr_pull_fn_t) ndr_pull_samr_ENUM_DOM_ALIASES,
+ status = dcerpc_ndr_request(p, DCERPC_SAMR_ENUMDOMAINALIASES, mem_ctx,
+ (ndr_push_fn_t) ndr_push_samr_EnumDomainAliases,
+ (ndr_pull_fn_t) ndr_pull_samr_EnumDomainAliases,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;
@@ -479,12 +479,12 @@ NTSTATUS dcerpc_samr_GET_MEMBERS_IN_ALIAS(struct dcerpc_pipe *p, TALLOC_CTX *mem
return r->out.result;
}
-NTSTATUS dcerpc_samr_OPEN_USER(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_OPEN_USER *r)
+NTSTATUS dcerpc_samr_OpenUser(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_OpenUser *r)
{
NTSTATUS status;
- status = dcerpc_ndr_request(p, DCERPC_SAMR_OPEN_USER, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_OPEN_USER,
- (ndr_pull_fn_t) ndr_pull_samr_OPEN_USER,
+ status = dcerpc_ndr_request(p, DCERPC_SAMR_OPENUSER, mem_ctx,
+ (ndr_push_fn_t) ndr_push_samr_OpenUser,
+ (ndr_pull_fn_t) ndr_pull_samr_OpenUser,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;
@@ -507,12 +507,12 @@ NTSTATUS dcerpc_samr_DELETE_DOM_USER(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
return r->out.result;
}
-NTSTATUS dcerpc_samr_QUERY_USERINFO(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QUERY_USERINFO *r)
+NTSTATUS dcerpc_samr_QueryUserInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_QueryUserInfo *r)
{
NTSTATUS status;
- status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERY_USERINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_QUERY_USERINFO,
- (ndr_pull_fn_t) ndr_pull_samr_QUERY_USERINFO,
+ status = dcerpc_ndr_request(p, DCERPC_SAMR_QUERYUSERINFO, mem_ctx,
+ (ndr_push_fn_t) ndr_push_samr_QueryUserInfo,
+ (ndr_pull_fn_t) ndr_pull_samr_QueryUserInfo,
r);
if (!NT_STATUS_IS_OK(status)) {
return status;