diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-08 19:37:13 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-08 19:43:46 +0100 |
commit | 6a650d7d161e4c4a7bd61bb374f473ba16fbba95 (patch) | |
tree | 704c28e54e7a3cb069de5d88c5e80f56194f4b8a /source3/lib/netapi/share.c | |
parent | 5fc9d93408effe75abcd231c45cbc14656692ebe (diff) | |
download | samba-6a650d7d161e4c4a7bd61bb374f473ba16fbba95.tar.gz samba-6a650d7d161e4c4a7bd61bb374f473ba16fbba95.tar.xz 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/share.c')
-rw-r--r-- | source3/lib/netapi/share.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/lib/netapi/share.c b/source3/lib/netapi/share.c index 342406efc8..84c275248d 100644 --- a/source3/lib/netapi/share.c +++ b/source3/lib/netapi/share.c @@ -199,7 +199,7 @@ WERROR NetShareAdd_r(struct libnetapi_ctx *ctx, } werr = libnetapi_open_pipe(ctx, r->in.server_name, - NDR_SRVSVC_UUID, NDR_SRVSVC_VERSION, + &ndr_table_srvsvc.syntax_id, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -252,7 +252,7 @@ WERROR NetShareDel_r(struct libnetapi_ctx *ctx, } werr = libnetapi_open_pipe(ctx, r->in.server_name, - NDR_SRVSVC_UUID, NDR_SRVSVC_VERSION, + &ndr_table_srvsvc.syntax_id, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -315,7 +315,7 @@ WERROR NetShareEnum_r(struct libnetapi_ctx *ctx, ZERO_STRUCT(info_ctr); werr = libnetapi_open_pipe(ctx, r->in.server_name, - NDR_SRVSVC_UUID, NDR_SRVSVC_VERSION, + &ndr_table_srvsvc.syntax_id, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -416,7 +416,7 @@ WERROR NetShareGetInfo_r(struct libnetapi_ctx *ctx, } werr = libnetapi_open_pipe(ctx, r->in.server_name, - NDR_SRVSVC_UUID, NDR_SRVSVC_VERSION, + &ndr_table_srvsvc.syntax_id, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -486,7 +486,7 @@ WERROR NetShareSetInfo_r(struct libnetapi_ctx *ctx, } werr = libnetapi_open_pipe(ctx, r->in.server_name, - NDR_SRVSVC_UUID, NDR_SRVSVC_VERSION, + &ndr_table_srvsvc.syntax_id, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; |