From 5fc9d93408effe75abcd231c45cbc14656692ebe Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Nov 2009 12:31:38 +0100 Subject: s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table --- source3/lib/netapi/group.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'source3/lib/netapi/group.c') 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; -- cgit