summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_netlogon.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-31 14:10:22 +0100
committerGünther Deschner <gd@samba.org>2008-01-31 14:10:22 +0100
commit2e0a1fcf3f461f134c910e83ab82115c00827231 (patch)
treef2b0db7f7d686669dba28d60303a593bbdc1b4c6 /source3/librpc/gen_ndr/cli_netlogon.c
parent09454362cf75ecb7db58560604b567611e89d5ef (diff)
downloadsamba-2e0a1fcf3f461f134c910e83ab82115c00827231.tar.gz
samba-2e0a1fcf3f461f134c910e83ab82115c00827231.tar.bz2
samba-2e0a1fcf3f461f134c910e83ab82115c00827231.zip
Re-run make idl.
Guenther (This used to be commit b658270518140c457536b0c7db06a646d7077529)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_netlogon.c')
-rw-r--r--source3/librpc/gen_ndr/cli_netlogon.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/librpc/gen_ndr/cli_netlogon.c b/source3/librpc/gen_ndr/cli_netlogon.c
index 8bed385414..cac3962073 100644
--- a/source3/librpc/gen_ndr/cli_netlogon.c
+++ b/source3/librpc/gen_ndr/cli_netlogon.c
@@ -598,7 +598,8 @@ NTSTATUS rpccli_netr_GetDcName(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *logon_server,
const char *domainname,
- const char **dcname)
+ const char **dcname,
+ WERROR *werror)
{
struct netr_GetDcName r;
NTSTATUS status;
@@ -634,7 +635,11 @@ NTSTATUS rpccli_netr_GetDcName(struct rpc_pipe_client *cli,
*dcname = *r.out.dcname;
/* Return result */
- return r.out.result;
+ if (werror) {
+ *werror = r.out.result;
+ }
+
+ return werror_to_ntstatus(r.out.result);
}
NTSTATUS rpccli_netr_LogonControl(struct rpc_pipe_client *cli,