summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-01-28 11:36:11 +0000
committerVolker Lendecke <vl@samba.org>2017-03-07 09:15:17 +0100
commit00c25a5080be89ad41195969dd7fc9521a26ad7d (patch)
treea74e2fa688974820efee4cb4a04e35285d8d9262 /source3/rpcclient
parentc0875cd88365e61a827ee32b59ab95e73a524307 (diff)
downloadsamba-00c25a5080be89ad41195969dd7fc9521a26ad7d.tar.gz
cli_netlogon: Add return parms to rpccli_netlogon_password_logon
Just for symmetry with rpccli_netlogon_network_logon() Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_netlogon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_netlogon.c b/source3/rpcclient/cmd_netlogon.c
index f65717287f4..29d3096ecd2 100644
--- a/source3/rpcclient/cmd_netlogon.c
+++ b/source3/rpcclient/cmd_netlogon.c
@@ -779,6 +779,8 @@ static NTSTATUS cmd_netlogon_sam_logon(struct rpc_pipe_client *cli,
uint32_t logon_param = 0;
const char *workstation = NULL;
struct netr_SamInfo3 *info3 = NULL;
+ uint8_t authoritative = 0;
+ uint32_t flags = 0;
/* Check arguments */
@@ -816,6 +818,8 @@ static NTSTATUS cmd_netlogon_sam_logon(struct rpc_pipe_client *cli,
password,
workstation,
logon_type,
+ &authoritative,
+ &flags,
&info3);
if (!NT_STATUS_IS_OK(result))
goto done;