summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/netlogon.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-08 19:37:13 +0100
committerVolker Lendecke <vl@samba.org>2009-11-08 19:43:46 +0100
commit6a650d7d161e4c4a7bd61bb374f473ba16fbba95 (patch)
tree704c28e54e7a3cb069de5d88c5e80f56194f4b8a /source3/lib/netapi/netlogon.c
parent5fc9d93408effe75abcd231c45cbc14656692ebe (diff)
downloadsamba-6a650d7d161e4c4a7bd61bb374f473ba16fbba95.tar.gz
samba-6a650d7d161e4c4a7bd61bb374f473ba16fbba95.tar.bz2
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/netlogon.c')
-rw-r--r--source3/lib/netapi/netlogon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/netapi/netlogon.c b/source3/lib/netapi/netlogon.c
index 4f421eafb3..082938cadc 100644
--- a/source3/lib/netapi/netlogon.c
+++ b/source3/lib/netapi/netlogon.c
@@ -129,7 +129,7 @@ WERROR I_NetLogonControl_r(struct libnetapi_ctx *ctx,
union netr_CONTROL_QUERY_INFORMATION query;
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+ &ndr_table_netlogon.syntax_id,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -183,7 +183,7 @@ WERROR I_NetLogonControl2_r(struct libnetapi_ctx *ctx,
}
werr = libnetapi_open_pipe(ctx, r->in.server_name,
- NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION,
+ &ndr_table_netlogon.syntax_id,
&pipe_cli);
if (!W_ERROR_IS_OK(werr)) {
goto done;