summaryrefslogtreecommitdiff
path: root/source4/auth/ntlmssp
diff options
context:
space:
mode:
authorAndreas Schneider <asn@redhat.com>2009-12-16 16:41:21 +0100
committerStefan Metzmacher <metze@samba.org>2009-12-16 20:28:38 +0100
commit1e5488859a66d25a0dedf0e2f9b545fb7acf1fa2 (patch)
tree6d420404d24e795bf7ddcbdfe7603359129f9cf6 /source4/auth/ntlmssp
parentac2d31e24cfa24f6674b645b3661a1a2ce9ab060 (diff)
downloadsamba-1e5488859a66d25a0dedf0e2f9b545fb7acf1fa2.tar.gz
samba-1e5488859a66d25a0dedf0e2f9b545fb7acf1fa2.tar.bz2
samba-1e5488859a66d25a0dedf0e2f9b545fb7acf1fa2.zip
s4-gensec: Replace gensec_get_peer_addr with new tsocket based fn.
Diffstat (limited to 'source4/auth/ntlmssp')
-rw-r--r--source4/auth/ntlmssp/ntlmssp_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp_server.c b/source4/auth/ntlmssp/ntlmssp_server.c
index 63cbf68e85..94de920772 100644
--- a/source4/auth/ntlmssp/ntlmssp_server.c
+++ b/source4/auth/ntlmssp/ntlmssp_server.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "system/network.h"
+#include "lib/tsocket/tsocket.h"
#include "auth/ntlmssp/ntlmssp.h"
#include "../libcli/auth/libcli_auth.h"
#include "../lib/crypto/crypto.h"
@@ -666,7 +667,7 @@ static NTSTATUS auth_ntlmssp_check_password(struct gensec_ntlmssp_state *gensec_
user_info->client.account_name = gensec_ntlmssp_state->user;
user_info->client.domain_name = gensec_ntlmssp_state->domain;
user_info->workstation_name = gensec_ntlmssp_state->workstation;
- user_info->remote_host = gensec_get_peer_addr(gensec_ntlmssp_state->gensec_security);
+ user_info->remote_host = gensec_get_remote_address(gensec_ntlmssp_state->gensec_security);
user_info->password_state = AUTH_PASSWORD_RESPONSE;
user_info->password.response.lanman = gensec_ntlmssp_state->lm_resp;