Add unique IP address binding for client connections (EPM and ncacn_ip_tcp levels)
commite5e5a1110fb4092a1221512627b1f9d03ec8839c
authorJulien Kerihuel <j.kerihuel@openchange.org>
Fri, 27 Aug 2010 12:04:07 +0000 (27 14:04 +0200)
committerAndrew Tridgell <tridge@samba.org>
Mon, 6 Sep 2010 23:55:14 +0000 (7 09:55 +1000)
treeabdc1fe26c4a6199494b12dca4e80b97e3f75dd1
parent35aed17b2651bc6dd9be415f8b8060357ee78ecb
Add unique IP address binding for client connections (EPM and ncacn_ip_tcp levels)

This allows for binding strings like this:

  ncacn_ip_tcp:host[localaddress=192.168.2.1,seal]

which will force the connection to be locally bound to the specified
IP address

Signed-off-by: Andrew Tridgell <tridge@samba.org>
librpc/rpc/binding.c
source3/librpc/rpc/dcerpc.h
source4/librpc/rpc/dcerpc.h
source4/librpc/rpc/dcerpc_connect.c
source4/librpc/rpc/dcerpc_secondary.c
source4/librpc/rpc/dcerpc_sock.c
source4/librpc/rpc/dcerpc_util.c
source4/librpc/tests/binding_string.c