summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_dfs.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-17 13:00:12 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-17 15:57:52 +0100
commit5e86ac9e6d2eb7ff0f6f8461dcfc230e2d87c42c (patch)
treeaed1aae617cf6a3bbc1a4989de08a3b51790b326 /source3/librpc/gen_ndr/cli_dfs.c
parentf14f2a4c43b54dcbdf8d7106be36328ce498393e (diff)
downloadsamba-5e86ac9e6d2eb7ff0f6f8461dcfc230e2d87c42c.tar.gz
samba-5e86ac9e6d2eb7ff0f6f8461dcfc230e2d87c42c.tar.bz2
samba-5e86ac9e6d2eb7ff0f6f8461dcfc230e2d87c42c.zip
idl: Update DFS IDL from Samba 4.
(This used to be commit a6677b2e186212f723b24775293682ce5b94952e)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_dfs.c')
-rw-r--r--source3/librpc/gen_ndr/cli_dfs.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/cli_dfs.c b/source3/librpc/gen_ndr/cli_dfs.c
index 9078ce7bba..fc00128f3f 100644
--- a/source3/librpc/gen_ndr/cli_dfs.c
+++ b/source3/librpc/gen_ndr/cli_dfs.c
@@ -789,12 +789,20 @@ NTSTATUS rpccli_dfs_AddStdRootForced(struct rpc_pipe_client *cli,
NTSTATUS rpccli_dfs_GetDcAddress(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
+ const char *servername,
+ const char **server_fullname,
+ uint8_t *is_root,
+ uint32_t *ttl,
WERROR *werror)
{
struct dfs_GetDcAddress r;
NTSTATUS status;
/* In parameters */
+ r.in.servername = servername;
+ r.in.server_fullname = server_fullname;
+ r.in.is_root = is_root;
+ r.in.ttl = ttl;
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(dfs_GetDcAddress, &r);
@@ -820,6 +828,9 @@ NTSTATUS rpccli_dfs_GetDcAddress(struct rpc_pipe_client *cli,
}
/* Return variables */
+ *server_fullname = *r.out.server_fullname;
+ *is_root = *r.out.is_root;
+ *ttl = *r.out.ttl;
/* Return result */
if (werror) {
@@ -831,12 +842,20 @@ NTSTATUS rpccli_dfs_GetDcAddress(struct rpc_pipe_client *cli,
NTSTATUS rpccli_dfs_SetDcAddress(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
+ const char *servername,
+ const char *server_fullname,
+ uint32_t flags,
+ uint32_t ttl,
WERROR *werror)
{
struct dfs_SetDcAddress r;
NTSTATUS status;
/* In parameters */
+ r.in.servername = servername;
+ r.in.server_fullname = server_fullname;
+ r.in.flags = flags;
+ r.in.ttl = ttl;
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(dfs_SetDcAddress, &r);