[REG : 112040380892433]: Is there any requirement when handling an NT_TRANSACT_SET_SECURITY_DESCRIPTOR to store the DACL exactly as presented on the wire?

Tarun Chopra Tarun.Chopra at microsoft.com
Wed Apr 4 03:25:10 MDT 2012


[Moving -DocHelp to Bcc, Adding - CaseMail to cc]

Hi Richard

I am researching this for you and would appreciate if you can share the network trace with windows 2K3.

Thanks
Tarun Chopra.

-----Original Message-----
From: Tom Jebo 
Sent: Tuesday, April 03, 2012 3:18 PM
To: Richard Sharpe
Cc: samba-technical; Interoperability Documentation Help
Subject: RE: Is there any requirement when handling an NT_TRANSACT_SET_SECURITY_DESCRIPTOR to store the DACL exactly as presented on the wire?

Hi Richard, 

Thanks for your question regarding NT_TRANSACT_SET_SECURITY_DESCRIPTOR, one of the Open Specification team members will contact you to begin working on this. 

Best regards,
Tom Jebo
Escalation Engineer 
Microsoft Open Specifications

-----Original Message-----
From: Richard Sharpe [mailto:realrichardsharpe at gmail.com] 
Sent: Tuesday, April 03, 2012 5:51 PM
To: Interoperability Documentation Help
Cc: samba-technical
Subject: Is there any requirement when handling an NT_TRANSACT_SET_SECURITY_DESCRIPTOR to store the DACL exactly as presented on the wire?

Hi,

NetApp authored a test called aclfunc.exe that has an ACL Resize Test.

This test creates a directory, then retrieves the DACL on the directory, pads the DACL up to approximately 1000 bytes with zeros, and stores it back on the directory with an NT_TRANACT_SET_SECURITY_DESCRITOR request.

It then retrieves the DACL again and expects to see the exact same size DACL, possibly even with the extraneous zeros.

Samba stores the DACL in the least space possible by removing the zero padding which the ACL Resize Test claims constitutes a failure of the test.

Is there any requirement anywhere that the zero padding the test supplies must be stored?

If needed I can supply a capture of the behavior of the test to show you what it does.

(I note that W2K3 passes the test, so it does seem to store the DACL as presented.)

--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)





More information about the samba-technical mailing list