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/user.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'source3/lib/netapi/user.c') diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c index f95750fae7..2b2c0b132b 100644 --- a/source3/lib/netapi/user.c +++ b/source3/lib/netapi/user.c @@ -381,7 +381,7 @@ WERROR NetUserAdd_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; @@ -508,7 +508,7 @@ WERROR NetUserDel_r(struct libnetapi_ctx *ctx, ZERO_STRUCT(user_handle); 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)) { @@ -1215,7 +1215,7 @@ WERROR NetUserEnum_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; @@ -1514,7 +1514,7 @@ WERROR NetQueryDisplayInformation_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; @@ -1640,7 +1640,7 @@ WERROR NetUserGetInfo_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; @@ -1794,7 +1794,7 @@ WERROR NetUserSetInfo_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; @@ -2214,7 +2214,7 @@ WERROR NetUserModalsGet_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; @@ -2692,7 +2692,7 @@ WERROR NetUserModalsSet_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; @@ -2825,7 +2825,7 @@ WERROR NetUserGetGroups_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; @@ -2976,7 +2976,7 @@ WERROR NetUserSetGroups_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; @@ -3258,7 +3258,7 @@ WERROR NetUserGetLocalGroups_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