<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Hi Metze,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
I don't think I'll be able to get answers to your follow-ups before I'm out-of-office tomorrow evening. I'm happy to get back in touch with you when I return the week of the 23rd, or I can have one of my colleagues look into these while I'm away. Just let me
 know if these are more urgent and I can find a teammate to assist.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<p style="margin: 0in; font-family: "Times New Roman", serif; font-size: 12pt; background-color: white;">
<span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;"><b>Regards,</b></span></p>
<p style="margin-top: 4pt; margin-bottom: 0pt; font-family: "Times New Roman", serif; font-size: 12pt;">
<span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;"><b>Kristian Smith</b></span></p>
<p style="margin-top: 4pt; margin-bottom: 0pt; font-family: "Times New Roman", serif; font-size: 12pt;">
<span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;">Support Escalation Engineer | Azure DevOps, Windows Protocols | Microsoft® Corporation</span></p>
<p style="margin-top: 4pt; margin-bottom: 0pt; font-family: "Times New Roman", serif; font-size: 12pt;">
<span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;"><b>Office phone</b>: +1 425-421-4442</span></p>
<p style="margin-top: 4pt; margin-bottom: 0pt; font-family: "Times New Roman", serif; font-size: 12pt;">
<span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;"><b>Email</b>:
</span><span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(0, 0, 0); background-color: white;"><a href="mailto:kristian.smith@microsoft.com" style="margin-top: 0px; margin-bottom: 0px;">kristian.smith@microsoft.com</a></span></p>
<p style="margin-top: 4pt; margin-bottom: 0pt; font-family: "Times New Roman", serif; font-size: 12pt;">
<span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;"><b>Working hours</b>: 8:00 am - 5:00 pm PST, Monday – Friday</span></p>
<p style="margin-top: 4pt; margin-bottom: 0pt; font-family: "Times New Roman", serif; font-size: 12pt;">
<span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;"><b>Team Manager</b>: Gary Ranne
</span><span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(0, 0, 0); background-color: white;"><a href="mailto:garyra@microsoft.com" style="margin-top: 0px; margin-bottom: 0px;">garyra@microsoft.com</a></span></p>
<p style="margin-top: 4pt; margin-bottom: 0pt; font-family: "Times New Roman", serif; font-size: 12pt;">
<span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;"><b>ServiceHub</b>: 
</span><span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(0, 0, 0); background-color: white;"><a href="https://serviceshub.microsoft.com/support/contactsupport_" style="margin-top: 0px; margin-bottom: 0px;">https://serviceshub.microsoft.com/support/contactsupport_</a></span><span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;"> </span></p>
<p style="margin-top: 4pt; margin-bottom: 0pt; font-family: "Times New Roman", serif; font-size: 12pt;">
<span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;"><i>In case you don't hear from me, please call your regional number here: 
</i></span><span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(0, 0, 0); background-color: white;"><i><a href="https://support.microsoft.com/help/13948/global-customer-service-phone-numbers." style="margin-top: 0px; margin-bottom: 0px;">https://support.microsoft.com/help/13948/global-customer-service-phone-numbers.</a></i></span><span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;"><i> </i></span></p>
<p style="margin-top: 4pt; margin-bottom: 0pt; font-family: "Times New Roman", serif; font-size: 12pt;">
<span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;"><i>If you need assistance outside my normal working hours, please reach out to
</i></span><span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(0, 0, 0); background-color: white;"><i><a href="mailto:devbu@microsoft.com" style="margin-top: 0px; margin-bottom: 0px;">devbu@microsoft.com</a></i></span><span style="font-family: "Segoe UI"; font-size: 9pt; color: rgb(47, 47, 47); background-color: white;"><i>. 
 One of my colleagues will gladly continue working on this issue.</i></span><span style="font-family: "Segoe UI", sans-serif; font-size: 0px; color: rgb(0, 90, 158); background-color: white;"><i><a href="mailto:devbu@microsoft.com" style="margin-top: 0px; margin-bottom: 0px; color: rgb(0, 90, 158);">devbu@microsoft.com</a></i></span><span style="font-family: "Segoe UI", sans-serif; font-size: 0px; color: black; background-color: white;"><i>. 
 One of my colleagues will gladly continue working on this issue.</i></span></p>
</div>
<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> Stefan Metzmacher <metze@samba.org><br>
<b>Sent:</b> Thursday, January 4, 2024 8:51 AM<br>
<b>To:</b> Kristian Smith <Kristian.Smith@microsoft.com>; Interoperability Documentation Help <dochelp@microsoft.com><br>
<b>Cc:</b> cifs-protocol@lists.samba.org <cifs-protocol@lists.samba.org><br>
<b>Subject:</b> Re: [EXTERNAL] Trying to let a Windows client use MS-SWN against a samba cluster</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">[You don't often get email from metze@samba.org. Learn why this is important at
<a href="https://aka.ms/LearnAboutSenderIdentification">https://aka.ms/LearnAboutSenderIdentification</a> ]<br>
<br>
Am 11.12.23 um 22:15 schrieb Kristian Smith:<br>
> Hi Metze,<br>
><br>
> I'm reaching out with regard to question 10 from your mail below.<br>
><br>
> ---------------------------------------------------------------------------------------------------------<br>
> Question 10:<br>
> MS-SWM 3.1.6.1 Server Application Notifies of an Interface Being Enabled or Disabled<br>
><br>
>     The calling application provides the interface group name, IPv4 and/or IPv6<br>
>     addresses, and state.<br>
>     ...<br>
>     Then for each entry in the WitnessRegistrationList where<br>
>     WitnessRegistration.NetworkName<br>
>     matches the application-provided interface group name ...<br>
><br>
> This seems to indicate that there's actually just a single<br>
> InterfaceGroupName matching the single NetworkName.<br>
> ---------------------------------------------------------------------------------------------------------<br>
><br>
> WitnessRegistration.NetworkName is the NetName provided by the client when registering.<br>
> InterfaceGroupName is provided by the Server Cluster application.<br>
<br>
That's also my understanding.<br>
<br>
But on a windows 2012 cluster I saw that the interfaceGroupNames in the GetInterfaceList() response<br>
are the per node netbios names (something like node0, node1, node2) that hold the related ip address.<br>
<br>
But the NetworkName in th Register[Ex]() request from the client gets the sofs cluster name,<br>
something like "sofs-cluster" or "sofs-cluster.example.com" (which has to match ServerGlobalName<br>
(See Question 11).<br>
<br>
With that the statement:<br>
<br>
   Then for each entry in the WitnessRegistrationList where WitnessRegistration.NetworkName<br>
   matches the application-provided interface group name ...<br>
<br>
would never be true and no registration in the list will ever get any notification...<br>
So it seems to be a documentation bug.<br>
<br>
In my code I'm comparing WitnessRegistration.IpAddress being equal to the ip address of<br>
the changed interface.<br>
<br>
> If there are no current registered witnesses (clients), the Interface.InterfaceGroupName would still exist, but there would be no WitnessRegistration.NetworkName<br>
> This check (referenced in your question) compares the server-application-provided InterfaceGroupName (the one that underwent a state change) to those in the list of registered witnesses. This ensures that the client receives a message about the state change.<br>
<br>
It would mean on windows that it compares "node0" to match "sofs-cluster.example.com", which can't work.<br>
<br>
> Please let me know if there are lingering concerns with Question 10 and I'd be happy to dig back in.<br>
<br>
Please do :-)<br>
<br>
Thanks!<br>
metze<br>
</div>
</span></font></div>
</body>
</html>