summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/group.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-08 12:31:38 +0100
committerVolker Lendecke <vl@samba.org>2009-11-08 13:12:16 +0100
commit5fc9d93408effe75abcd231c45cbc14656692ebe (patch)
tree03de463e98efebfc0b3f290abc1202fd6ff3ae7d /source3/lib/netapi/group.c
parent53f2a1595e76db9fe1b42db65b51895b73365993 (diff)
downloadsamba-5fc9d93408effe75abcd231c45cbc14656692ebe.tar.gz
samba-5fc9d93408effe75abcd231c45cbc14656692ebe.tar.bz2
samba-5fc9d93408effe75abcd231c45cbc14656692ebe.zip
s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table
Diffstat (limited to 'source3/lib/netapi/group.c')
-rw-r--r--source3/lib/netapi/group.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/source3/lib/netapi/group.c b/source3/lib/netapi/group.c
index 77ed2e8485..0edf07bc45 100644
--- a/source3/lib/netapi/group.c
+++ b/source3/lib/netapi/group.c
@@ -71,7 +71,7 @@ WERROR NetGroupAdd_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_samr.syntax_id,
+ NDR_SAMR_UUID, NDR_SAMR_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -242,7 +242,7 @@ WERROR NetGroupDel_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_samr.syntax_id,
+ NDR_SAMR_UUID, NDR_SAMR_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -407,7 +407,7 @@ WERROR NetGroupSetInfo_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_samr.syntax_id,
+ NDR_SAMR_UUID, NDR_SAMR_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -642,7 +642,7 @@ WERROR NetGroupGetInfo_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_samr.syntax_id,
+ NDR_SAMR_UUID, NDR_SAMR_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -758,7 +758,7 @@ WERROR NetGroupAddUser_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_samr.syntax_id,
+ NDR_SAMR_UUID, NDR_SAMR_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -879,7 +879,7 @@ WERROR NetGroupDelUser_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_samr.syntax_id,
+ NDR_SAMR_UUID, NDR_SAMR_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -1157,7 +1157,7 @@ WERROR NetGroupEnum_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_samr.syntax_id,
+ NDR_SAMR_UUID, NDR_SAMR_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -1288,7 +1288,7 @@ WERROR NetGroupGetUsers_r(struct libnetapi_ctx *ctx,
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_samr.syntax_id,
+ NDR_SAMR_UUID, NDR_SAMR_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -1440,7 +1440,7 @@ WERROR NetGroupSetUsers_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_samr.syntax_id,
+ NDR_SAMR_UUID, NDR_SAMR_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;