s3:smbd: avoid get_peer_addr() and use smbXsrv_connection_dbg()
authorStefan Metzmacher <metze@samba.org>
Fri, 23 May 2014 10:59:43 +0000 (12:59 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 6 Aug 2014 07:51:10 +0000 (09:51 +0200)
commit2fd53228b59cc80135ae7038aee3f914546adaee
treea15d6e8a7cae6f17548bcf37b2fd22d4633f01ed
parent318eb4b62d4ba6af48f8d12199302ec46eb98508
s3:smbd: avoid get_peer_addr() and use smbXsrv_connection_dbg()

There's no need to do syscalls, if we already have the information
in userspace.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/process.c
source3/smbd/reply.c
source3/smbd/smb2_read.c