[PATCH] Unique IP address feature for client connections

Julien Kerihuel j.kerihuel at openchange.org
Fri Aug 27 06:13:33 MDT 2010

Hi Lists,

You will find in attachment an updated version of the patch which fixes
memory leaks introduced in the initial patch within the
convert_address_string function.


On Tue, 2010-08-24 at 15:13 +0200, Julien Kerihuel wrote:
> Hi Lists,
> The attached patch (initially proposed by Brad Hards) adds a
> localaddress ncacn option to DCERPC binding string and allow clients to
> specify on which interface they have to bind to communicate with remote
> host.
> I have reworked the patch so localaddress becomes a member of the
> ncacn_options array and have its own defined flag (1<<22). The patch
> also alters EPM connections to use the correct interface.
> Typical usage:
> ncacn_ip_tcp:[print,seal,localaddress=]
> Given that we have a local interface with IP and another
> one using, EPM and DCERPC connections will go through
> Also attached the openchange patch (for openchange developers) to test
> it prior to any trunk merge. To test the openchange patch, apply it to
> trunk, edit the OpenChange profile database and add the localaddress
> attribute followed by a local interface IP address, similarly to:
> localaddress:
> If no localaddress parameter is defined, then Samba4 DCERPC stack
> fallback to the default behavior (guess the best interface).
> Cheers,
> Julien.

Julien Kerihuel
j.kerihuel at openchange.org
OpenChange Project Manager

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-unique-IP-address-binding-for-client-connections.patch
Type: text/x-patch
Size: 13436 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100827/3f445288/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100827/3f445288/attachment.pgp>

More information about the samba-technical mailing list