number of aces in big endian format?

Shirish Pargaonkar shirishpargaonkar at gmail.com
Fri Feb 8 04:25:21 GMT 2008


On 2/7/08, Shirish Pargaonkar <shirishpargaonkar at gmail.com> wrote:
> Hello,
>
> Not exactly samba but related to ntfs acls, so hope do not get flamed!
>
> Recently I am seeing a response to get security descriptor query to Windows
> server as Malformed Packet in wireshark trace and the number of aces
> in the dacl in
> big endian format.  I thought all the data over the wire was in little
> endian format!
>
> I have seen this on Windows XP and Windows Server 2003.
> Have not intentionally installed any patches on either.
>
> This is causing grief to linux cifs client in acl code, when I parse the dacl,
> suddenly now the number of aces is a huge number instead of two or three or
> so aces and that is causing oopses in kmalloc'ing.
>
> I know this was not a problem earlier this year or late last year.
>
> Regards,
>
> Shirish
>

I am posting the wireshark traces, one from the cifs client and one
from smbcacls
command, both containing response for NT Query Security Descriptor request
Malformed Packet (with big-endian coded number of aces field in the
DACL) response
for cifs client and correct response for smbcacl command, to the same
Windows XP server and same share on that server.

I looked for pertinent data on Microsoft Knowledgebase but did not get any hits.

Any pointers on how to debug this are so much appreciated.

Regards,

Shirish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bigendiannum_ace.pcap
Type: application/octet-stream
Size: 46863 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080207/6a2e0bf1/bigendiannum_ace.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smbcaclslittleendian.pcap
Type: application/octet-stream
Size: 27329 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080207/6a2e0bf1/smbcaclslittleendian.obj


More information about the samba-technical mailing list