diff options
Diffstat (limited to 'source4/smb_server/smb_server.c')
-rw-r--r-- | source4/smb_server/smb_server.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c index 13c0a9770f..35c552c825 100644 --- a/source4/smb_server/smb_server.c +++ b/source4/smb_server/smb_server.c @@ -838,13 +838,6 @@ void smbsrv_accept(struct server_connection *conn) sub_set_context(&smb_conn->substitute); - /* set an initial client name based on its IP address. This will be replaced with - the netbios name later if it gives us one */ - socket_addr = socket_get_peer_addr(conn->socket, smb_conn); - if (socket_addr) { - sub_set_remote_machine(socket_addr); - } - /* now initialise a few default values associated with this smb socket */ smb_conn->negotiate.max_send = 0xFFFF; |