diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-08 12:31:38 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-08 13:12:16 +0100 |
commit | 5fc9d93408effe75abcd231c45cbc14656692ebe (patch) | |
tree | 03de463e98efebfc0b3f290abc1202fd6ff3ae7d /source3/lib/netapi/getdc.c | |
parent | 53f2a1595e76db9fe1b42db65b51895b73365993 (diff) | |
download | samba-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/getdc.c')
-rw-r--r-- | source3/lib/netapi/getdc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/netapi/getdc.c b/source3/lib/netapi/getdc.c index d3f58f6684..848ccb8b62 100644 --- a/source3/lib/netapi/getdc.c +++ b/source3/lib/netapi/getdc.c @@ -45,7 +45,7 @@ WERROR NetGetDCName_r(struct libnetapi_ctx *ctx, WERROR werr; werr = libnetapi_open_pipe(ctx, r->in.server_name, - &ndr_table_netlogon.syntax_id, + NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -85,7 +85,7 @@ WERROR NetGetAnyDCName_r(struct libnetapi_ctx *ctx, WERROR werr; werr = libnetapi_open_pipe(ctx, r->in.server_name, - &ndr_table_netlogon.syntax_id, + NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -140,7 +140,7 @@ WERROR DsGetDcName_r(struct libnetapi_ctx *ctx, struct rpc_pipe_client *pipe_cli = NULL; werr = libnetapi_open_pipe(ctx, r->in.server_name, - &ndr_table_netlogon.syntax_id, + NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION, &pipe_cli); if (!W_ERROR_IS_OK(werr)) { goto done; |