[cifs-protocol] [MS-DTYP] Conditional ACE Unicode literal SDDL format - TrackingID#2302240040001164
HungChun.Yu at microsoft.com
Fri Feb 24 04:45:55 UTC 2023
Thank you for contacting Microsoft Open Specifications Support. We created SR Case - TrackingID#2302240040001164 to track the issue. Please do leave this tag in the subject line for future reference.
One of our engineers will be contacting you shortly.
Microsoft Open Specifications
From: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
Sent: Thursday, February 23, 2023 6:10 PM
To: cifs-protocol at lists.samba.org; Interoperability Documentation Help <dochelp at microsoft.com>
Subject: [EXTERNAL] [MS-DTYP] Conditional ACE Unicode literal SDDL format
I am interested in the details of the format for conditional ACE SDDL format, which is not really described in [MS-DTYP] (unlike the wire format).
From the examples, it is clear that it involves double-quote delimiters:
But how are escapes handled -- how would it handle a string that itself contained a double quote?
In the ABNF there is a thing called "char-string":
char-string = DQUOTE *(CHAR) DQUOTE
which we can deduce applies to Unicode strings due to the definition of value-array, but this doesn't answer the question. Rather, it expands it, since
RFC5234 says CHAR is 7-bit ASCII only, precluding most Unicode values, so there must be an escaping mechanism for these characters too (unless the use of CHAR is mistaken).
My guess is that Unicode strings the same %hhhh sequence as attr-char2 (encoding the double quote as %0022), but there is no mention of that.
More information about the cifs-protocol