summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/group.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-08 19:37:13 +0100
committerVolker Lendecke <vl@samba.org>2009-11-08 19:43:46 +0100
commit6a650d7d161e4c4a7bd61bb374f473ba16fbba95 (patch)
tree704c28e54e7a3cb069de5d88c5e80f56194f4b8a /source3/lib/netapi/group.c
parent5fc9d93408effe75abcd231c45cbc14656692ebe (diff)
downloadsamba-6a650d7d161e4c4a7bd61bb374f473ba16fbba95.tar.gz
samba-6a650d7d161e4c4a7bd61bb374f473ba16fbba95.tar.bz2
samba-6a650d7d161e4c4a7bd61bb374f473ba16fbba95.zip
Revert "s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table"
This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
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 0edf07bc45..77ed2e8485 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_SAMR_UUID, NDR_SAMR_VERSION,
+ &ndr_table_samr.syntax_id,
&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_SAMR_UUID, NDR_SAMR_VERSION,
+ &ndr_table_samr.syntax_id,
&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_SAMR_UUID, NDR_SAMR_VERSION,
+ &ndr_table_samr.syntax_id,
&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_SAMR_UUID, NDR_SAMR_VERSION,
+ &ndr_table_samr.syntax_id,
&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_SAMR_UUID, NDR_SAMR_VERSION,
+ &ndr_table_samr.syntax_id,
&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_SAMR_UUID, NDR_SAMR_VERSION,
+ &ndr_table_samr.syntax_id,
&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_SAMR_UUID, NDR_SAMR_VERSION,
+ &ndr_table_samr.syntax_id,
&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_SAMR_UUID, NDR_SAMR_VERSION,
+ &ndr_table_samr.syntax_id,
&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_SAMR_UUID, NDR_SAMR_VERSION,
+ &ndr_table_samr.syntax_id,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;