unable to get client_ip using ' handle->conn->client_address '

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Apr 15 09:57:32 MDT 2011


On Fri, Apr 15, 2011 at 08:37:01AM -0700, Amancio Tarrito wrote:
>         I am writing vfs module, and I have samba-3.0.33 installed on my 
> centos5.5(32-Bit).I want to get ip address of client connecting to samba-share. 
> 
> 
> My question:- I am using " handle->conn->client_address " to get ip address of 
> client but I am unable to get. Please do suggest me solution to this problem.

In 3.0.33, try the routine client_inaddr().

Volker


More information about the samba-technical mailing list