From 6a650d7d161e4c4a7bd61bb374f473ba16fbba95 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Nov 2009 19:37:13 +0100 Subject: Revert "s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe. --- source3/lib/netapi/localgroup.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source3/lib/netapi/localgroup.c') diff --git a/source3/lib/netapi/localgroup.c b/source3/lib/netapi/localgroup.c index 4a9d5cdeec..d389c1f4a2 100644 --- a/source3/lib/netapi/localgroup.c +++ b/source3/lib/netapi/localgroup.c @@ -150,7 +150,7 @@ WERROR NetLocalGroupAdd_r(struct libnetapi_ctx *ctx, ZERO_STRUCT(alias_handle); 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; @@ -270,7 +270,7 @@ WERROR NetLocalGroupDel_r(struct libnetapi_ctx *ctx, ZERO_STRUCT(alias_handle); 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; @@ -442,7 +442,7 @@ WERROR NetLocalGroupGetInfo_r(struct libnetapi_ctx *ctx, ZERO_STRUCT(alias_handle); 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; @@ -613,7 +613,7 @@ WERROR NetLocalGroupSetInfo_r(struct libnetapi_ctx *ctx, ZERO_STRUCT(alias_handle); 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; @@ -755,7 +755,7 @@ WERROR NetLocalGroupEnum_r(struct libnetapi_ctx *ctx, ZERO_STRUCT(alias_handle); 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; @@ -1042,7 +1042,7 @@ static WERROR NetLocalGroupModifyMembers_r(struct libnetapi_ctx *ctx, if (r->in.level == 3) { werr = libnetapi_open_pipe(ctx, r->in.server_name, - NDR_LSARPC_UUID, NDR_LSARPC_VERSION, + &ndr_table_lsarpc.syntax_id, &lsa_pipe); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -1061,7 +1061,7 @@ static WERROR NetLocalGroupModifyMembers_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; -- cgit