unable to get client_ip using 'handle->conn->sconn->client_id.addr' in samba-4.1.1

Christof Schmitt cs at samba.org
Fri Dec 12 13:26:40 MST 2014


On Fri, Dec 12, 2014 at 04:13:42PM +0000, Amancio Tarrito wrote:
> Hello all,
> I am writing vfs module, and I have samba-4.1.1 installed on myRHEL(64-Bit) machine. I want to get the IP address of client connecting to samba-share.
> Question in brief:- I am using "handle->conn->sconn->client_id.addr" to get the IP address ofclient but I am unable to get. Please suggest me the solution for this problem.
> Thanks in advance.
> Thanks & Regards,Amancio Tarrito.

handle->conn->sconn->remote_address ?


More information about the samba-technical mailing list