[cifs-protocol] Re: Specific sockaddr layout in MS-ADTS

Andrew Bartlett abartlet at samba.org
Thu Jun 5 22:41:40 GMT 2008

On Thu, 2008-06-05 at 09:03 -0700, Hongwei Sun wrote:
> Hi, Andrew,
>    In response to your question regarding DcSocketAddr structure in NETLOGON_SAM_LOGON_RESPONSE_EX , we confirmed that this structure has  the following layout .
> Bytes       Elements                   ByteOrder          Notes
>  0-1        sin_family                 LittleEndian       Value should always be AF_INET
>  2-3        sin_port                   LittleEndian       Value should always be 0
>  4-7        sin_addr                   BigEndian          IPV4 address
>  8-15       sin_zero                   Just padding 0s
>   We will update the documentation [MS-ADTS] accordingly in the future release.  Thanks again for helping us improve protocol documentation.

And when IPv6 is in use?

Are there any other protocols (hey IPX ;-) that are possibly represented
by this wire element?

Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/cifs-protocol/attachments/20080606/bea08d68/attachment.bin

More information about the cifs-protocol mailing list