summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/joindomain.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-08 12:31:38 +0100
committerVolker Lendecke <vl@samba.org>2009-11-08 13:12:16 +0100
commit5fc9d93408effe75abcd231c45cbc14656692ebe (patch)
tree03de463e98efebfc0b3f290abc1202fd6ff3ae7d /source3/lib/netapi/joindomain.c
parent53f2a1595e76db9fe1b42db65b51895b73365993 (diff)
downloadsamba-5fc9d93408effe75abcd231c45cbc14656692ebe.tar.gz
samba-5fc9d93408effe75abcd231c45cbc14656692ebe.tar.bz2
samba-5fc9d93408effe75abcd231c45cbc14656692ebe.zip
s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table
Diffstat (limited to 'source3/lib/netapi/joindomain.c')
-rw-r--r--source3/lib/netapi/joindomain.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c
index 9970a0655a..c31b15d7fc 100644
--- a/source3/lib/netapi/joindomain.c
+++ b/source3/lib/netapi/joindomain.c
@@ -106,7 +106,7 @@ WERROR NetJoinDomain_r(struct libnetapi_ctx *ctx,
unsigned int old_timeout = 0;
werr = libnetapi_open_pipe(ctx, r->in.server,
- &ndr_table_wkssvc.syntax_id,
+ NDR_WKSSVC_UUID, NDR_WKSSVC_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -232,7 +232,7 @@ WERROR NetUnjoinDomain_r(struct libnetapi_ctx *ctx,
unsigned int old_timeout = 0;
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_wkssvc.syntax_id,
+ NDR_WKSSVC_UUID, NDR_WKSSVC_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -278,7 +278,7 @@ WERROR NetGetJoinInformation_r(struct libnetapi_ctx *ctx,
const char *buffer = NULL;
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_wkssvc.syntax_id,
+ NDR_WKSSVC_UUID, NDR_WKSSVC_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -408,7 +408,7 @@ WERROR NetGetJoinableOUs_r(struct libnetapi_ctx *ctx,
WERROR werr;
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_wkssvc.syntax_id,
+ NDR_WKSSVC_UUID, NDR_WKSSVC_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -450,7 +450,7 @@ WERROR NetRenameMachineInDomain_r(struct libnetapi_ctx *ctx,
WERROR werr;
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- &ndr_table_wkssvc.syntax_id,
+ NDR_WKSSVC_UUID, NDR_WKSSVC_VERSION,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;