summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-04-12 14:10:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:00 -0500
commit8c9eb7631eecbe3f9bda30aff4b5d97d5e2a8737 (patch)
treecac69887b74af6bc9330a279919555fe52db53b7 /source3/auth
parent7a5ff0885d08f9e32dc9939e5fd676a987b881d9 (diff)
downloadsamba-8c9eb7631eecbe3f9bda30aff4b5d97d5e2a8737.tar.gz
samba-8c9eb7631eecbe3f9bda30aff4b5d97d5e2a8737.tar.bz2
samba-8c9eb7631eecbe3f9bda30aff4b5d97d5e2a8737.zip
r15053: fix portabilities issues between 32-bit winbind clients and a 64-bit winbindd server
(This used to be commit a95d11345e76948b147bbc1f29a05c978d99a47a)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_winbind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index 6e2f26a572..4836d62ef9 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -32,7 +32,7 @@ static NTSTATUS get_info3_from_ndr(TALLOC_CTX *mem_ctx, struct winbindd_response
size_t len = response->length - sizeof(struct winbindd_response);
prs_struct ps;
if (len > 0) {
- info3_ndr = response->extra_data;
+ info3_ndr = response->extra_data.data;
if (!prs_init(&ps, len, mem_ctx, UNMARSHALL)) {
return NT_STATUS_NO_MEMORY;
}
@@ -124,7 +124,7 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
nt_status = NT_STATUS(response.data.auth.nt_status);
- if (result == NSS_STATUS_SUCCESS && response.extra_data) {
+ if (result == NSS_STATUS_SUCCESS && response.extra_data.data) {
if (NT_STATUS_IS_OK(nt_status)) {
if (NT_STATUS_IS_OK(nt_status = get_info3_from_ndr(mem_ctx, &response, &info3))) {
nt_status = make_server_info_info3(mem_ctx,
@@ -138,7 +138,7 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
nt_status = NT_STATUS_NO_LOGON_SERVERS;
}
- SAFE_FREE(response.extra_data);
+ SAFE_FREE(response.extra_data.data);
return nt_status;
}