<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">SL, please create a case and assign to me.</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div id="Signature">
<div>
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 15">
<meta name="Originator" content="Microsoft Word 15">
<link rel="File-List" href="SEE%20(krsmith@microsoft.com)_files/filelist.xml"><link rel="themeData" href="SEE%20(krsmith@microsoft.com)_files/themedata.thmx"><link rel="colorSchemeMapping" href="SEE%20(krsmith@microsoft.com)_files/colorschememapping.xml"></div>
<p style="margin: 2pt 0in; font-family: Calibri, sans-serif; font-size: 11pt; background-color: white;">
<span style="font-family: "Segoe UI Semibold", sans-serif; font-size: 10pt; color: rgb(34, 42, 53);">Kristian Smith</span></p>
<p style="margin: 2pt 0in; font-family: Calibri, sans-serif; font-size: 11pt; background-color: white;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 8pt; color: rgb(115, 115, 115);">Support Escalation Engineer</span></p>
<p style="margin: 2pt 0in; font-family: Calibri, sans-serif; font-size: 11pt; background-color: white;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 8pt; color: rgb(115, 115, 115);">Microsoft Azure DevOps &</span></p>
<p style="margin: 2pt 0in; font-family: Calibri, sans-serif; font-size: 11pt; background-color: white;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 8pt; color: rgb(115, 115, 115);">Windows Open Spec Protocols</span></p>
<p style="margin: 2pt 0in; font-family: Calibri, sans-serif; font-size: 11pt; background-color: white;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 8pt; color: rgb(115, 115, 115);">Office: (425) 421-4442</span></p>
<p style="margin: 2pt 0in; font-family: Calibri, sans-serif; font-size: 11pt; background-color: white;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 8pt;"><a href="mailto:kristian.smith@microsoft.com">kristian.smith@microsoft.com</a></span><span style="font-family: "Segoe UI", sans-serif; font-size: 8pt; color: rgb(115, 115, 115);">
</span></p>
<p style="margin: 0in; font-family: Calibri, sans-serif; font-size: 11pt;"><span style="font-family: Calibri, sans-serif; font-size: 11pt;"> </span></p>
</div>
<span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 12pt;"></span>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Douglas Bagnall <douglas.bagnall@catalyst.net.nz><br>
<b>Sent:</b> Tuesday, March 14, 2023 3:52 PM<br>
<b>To:</b> Interoperability Documentation Help <dochelp@microsoft.com>; cifs-protocol@lists.samba.org <cifs-protocol@lists.samba.org><br>
<b>Subject:</b> [EXTERNAL] [MS-DTYP] Conditional ACE SDDL: NOT syntax clarification.</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">hi Dochelp,<br>
<br>
In the ABNF for SDDL, in 2.5.1.1, the only place the NOT operator "!" is <br>
mentioned is in the cond-expr line:<br>
<br>
       cond-expr = term /                                              \<br>
                   term [wspace] ("||" / "&&" ) [wspace] cond-expr /   \<br>
                   (["!"] [wspace] "(" cond-expr ")")<br>
<br>
<br>
(We have already established in 2302020040006024 / <br>
<a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.samba.org%2Farchive%2Fcifs-protocol%2F2023-February%2F003947.html&data=05%7C01%7CKristian.Smith%40microsoft.com%7Cc522a8d1924a435eb82a08db24ded039%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638144311655006729%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=msh6QonzlXvn3yRIltnawc0iDgXOKYWKeblvNYePzik%3D&reserved=0">https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.samba.org%2Farchive%2Fcifs-protocol%2F2023-February%2F003947.html&data=05%7C01%7CKristian.Smith%40microsoft.com%7Cc522a8d1924a435eb82a08db24ded039%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638144311655006729%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=msh6QonzlXvn3yRIltnawc0iDgXOKYWKeblvNYePzik%3D&reserved=0</a>
 that the <br>
second part with the "||" or "&&" is erroneous -- this question is about the <br>
third part, with the '["!"]').<br>
<br>
So that says the only place a "!" can occur is in front of a parenthetical <br>
expression; you can't write "!A", you need to say "!(A)".<br>
<br>
That would be OK, and I have been working on that basis, but then in 2.5.1.3 <br>
"Parentheses and Order of Precedence", the "!" operator is given a middling <br>
precedence, below that of e.g. "==". And that makes me wonder about an <br>
expression like<br>
<br>
    !(A) == B<br>
<br>
Since == has higher precedence than !, it will grab the (A) before the ! can, <br>
and the expression is effectively "!(A == B)"; if you mean to do it the other <br>
way, you need to write "(!(A)) == B". But that looks silly. It makes me doubt <br>
that the semantic meaning is so divorced from the syntactic rule, and leads me <br>
to think the ABNF is taking another descriptive short cut.<br>
<br>
Does '!' really always need to be followed by '('?<br>
<br>
cheers,<br>
Douglas<br>
</div>
</span></font></div>
</body>
</html>