NT_STATUS_ADDRESS_ALREADY_ASSOCIATED

Stefan (metze) Metzmacher metze at samba.org
Fri Jan 4 05:29:48 MST 2013


Hi,

> Thanks for the analysis Günter.
> 
> We simply need to terminate this array with something other than
> cluster_id(0, 0).  The line you indicate is always true because the
> array in this case contains both the real 0,0 entry and the terminator
> as a 0,0 entry.
> 
> The easy option is to make irpc_servers_byname return an array of
> pointers to struct server_sid, so we can use a NULL terminator.  It
> isn't used in many places, so this shouldn't be too hard to fix up. 

I think the attached patch should fix this.

metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp.diff
Type: text/x-diff
Size: 2061 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130104/8e68f88e/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130104/8e68f88e/attachment.pgp>


More information about the samba-technical mailing list