summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-27 13:03:12 +0100
committerGünther Deschner <gd@samba.org>2008-03-27 13:06:43 +0100
commitb1198fc9fdc086f025ee05f3b2a382947d037b68 (patch)
treee8cb85d29e13bdd4368954f02ed607481af1065b /source3/rpc_client
parent463975f937a1547b6baf8fec0b354054adbecd73 (diff)
downloadsamba-b1198fc9fdc086f025ee05f3b2a382947d037b68.tar.gz
samba-b1198fc9fdc086f025ee05f3b2a382947d037b68.tar.bz2
samba-b1198fc9fdc086f025ee05f3b2a382947d037b68.zip
Fix samlogon rpc client & server.
Guenther (This used to be commit 0aaf975560dce3b4e58ab71687c3412c0c2a72cf)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_netlogon.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c
index 4cd55dc5aa..ec16186462 100644
--- a/source3/rpc_client/cli_netlogon.c
+++ b/source3/rpc_client/cli_netlogon.c
@@ -226,7 +226,7 @@ NTSTATUS rpccli_netlogon_sam_logon(struct rpc_pipe_client *cli,
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
struct netr_Authenticator clnt_creds;
struct netr_Authenticator ret_creds;
- union netr_LogonLevel *logon;
+ union netr_LogonInfo *logon;
union netr_Validation validation;
uint8_t authoritative;
int validation_level = 3;
@@ -236,7 +236,7 @@ NTSTATUS rpccli_netlogon_sam_logon(struct rpc_pipe_client *cli,
ZERO_STRUCT(ret_creds);
ZERO_STRUCT(zeros);
- logon = TALLOC_ZERO_P(mem_ctx, union netr_LogonLevel);
+ logon = TALLOC_ZERO_P(mem_ctx, union netr_LogonInfo);
if (!logon) {
return NT_STATUS_NO_MEMORY;
}
@@ -407,7 +407,7 @@ NTSTATUS rpccli_netlogon_sam_network_logon(struct rpc_pipe_client *cli,
uint8 zeros[16];
struct netr_Authenticator clnt_creds;
struct netr_Authenticator ret_creds;
- union netr_LogonLevel *logon = NULL;
+ union netr_LogonInfo *logon = NULL;
struct netr_NetworkInfo *network_info;
uint8_t authoritative;
union netr_Validation validation;
@@ -424,7 +424,7 @@ NTSTATUS rpccli_netlogon_sam_network_logon(struct rpc_pipe_client *cli,
ZERO_STRUCT(lm);
ZERO_STRUCT(nt);
- logon = TALLOC_ZERO_P(mem_ctx, union netr_LogonLevel);
+ logon = TALLOC_ZERO_P(mem_ctx, union netr_LogonInfo);
if (!logon) {
return NT_STATUS_NO_MEMORY;
}
@@ -530,7 +530,7 @@ NTSTATUS rpccli_netlogon_sam_network_logon_ex(struct rpc_pipe_client *cli,
const char *workstation_name_slash;
const char *server_name_slash;
uint8 zeros[16];
- union netr_LogonLevel *logon = NULL;
+ union netr_LogonInfo *logon = NULL;
struct netr_NetworkInfo *network_info;
uint8_t authoritative;
union netr_Validation validation;
@@ -547,7 +547,7 @@ NTSTATUS rpccli_netlogon_sam_network_logon_ex(struct rpc_pipe_client *cli,
ZERO_STRUCT(lm);
ZERO_STRUCT(nt);
- logon = TALLOC_ZERO_P(mem_ctx, union netr_LogonLevel);
+ logon = TALLOC_ZERO_P(mem_ctx, union netr_LogonInfo);
if (!logon) {
return NT_STATUS_NO_MEMORY;
}