diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-20 17:59:30 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-21 14:36:27 +0200 |
commit | 798b56edaec88206b0d61d2852af41777d53aef2 (patch) | |
tree | 562ea623ec18a357fb65485bfa731900095db88c /source3/lib/netapi/serverinfo.c | |
parent | 739e9cfbe0b5eff80bdcba1cf10bd5bfe6873d6a (diff) | |
download | samba-798b56edaec88206b0d61d2852af41777d53aef2.tar.gz samba-798b56edaec88206b0d61d2852af41777d53aef2.tar.xz samba-798b56edaec88206b0d61d2852af41777d53aef2.zip |
Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idx
(This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)
Diffstat (limited to 'source3/lib/netapi/serverinfo.c')
-rw-r--r-- | source3/lib/netapi/serverinfo.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/lib/netapi/serverinfo.c b/source3/lib/netapi/serverinfo.c index 7920bc29d0..a591d3753a 100644 --- a/source3/lib/netapi/serverinfo.c +++ b/source3/lib/netapi/serverinfo.c @@ -75,7 +75,8 @@ WERROR NetServerGetInfo_r(struct libnetapi_ctx *ctx, goto done; } - werr = libnetapi_open_pipe(ctx, cli, PI_SRVSVC, &pipe_cli); + werr = libnetapi_open_pipe(ctx, cli, &ndr_table_srvsvc.syntax_id, + &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; } @@ -175,7 +176,8 @@ WERROR NetServerSetInfo_r(struct libnetapi_ctx *ctx, goto done; } - werr = libnetapi_open_pipe(ctx, cli, PI_SRVSVC, &pipe_cli); + werr = libnetapi_open_pipe(ctx, cli, &ndr_table_srvsvc.syntax_id, + &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; } @@ -221,7 +223,8 @@ WERROR NetRemoteTOD_r(struct libnetapi_ctx *ctx, goto done; } - werr = libnetapi_open_pipe(ctx, cli, PI_SRVSVC, &pipe_cli); + werr = libnetapi_open_pipe(ctx, cli, &ndr_table_srvsvc.syntax_id, + &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; } |