Determining a user's remote port in a VFS module

Constantine Vetoshev gepardcv at yahoo.com
Mon Jun 25 21:51:54 GMT 2007


I need to figure out which port a user connected from in a VFS module. Looking
in connection_struct in smb.h, I don't see anything promising. I see the remote
IP, but not the remote port. Is this information available from Samba, or do I
have to do some sketchy /proc scraping to figure this out?

Thanks,
CV



More information about the samba-technical mailing list