<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-BE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">I hit a strange case of IP address matching a host definition :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Segoe UI","sans-serif"">Found host 'cnsuzd.+|cnsuzw.+|cnsuzt.+' matching IP '172.16.2.121'</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">So looking up the archive, I found the same case dating from 2009 :
<a href="http://lists.wpkg.org/pipermail/wpkg-users/2009-September/005770.html">http://lists.wpkg.org/pipermail/wpkg-users/2009-September/005770.html</a>, when you have 3 dots in the host name, it would be considered as an IP address.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Now I can add another dot but I wanted to check if it was expected as you seemed to have come up with a workaround back then and I am using WPKG 1.3.0.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Now strangely, on some computers it went on and installed the programs from the mistaken profile corresponding to the host definition with the 3 dots (on a server of course
</span><span lang="EN-US" style="font-family:Wingdings">J</span><span lang="EN-US"> and on some laptops) but on the virtual machine I’m doing my tests on, a dryrun shows it will apply the correct profile corresponding to the host name even after matching the
IP address to the wrong host definition :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:"Segoe UI","sans-serif"">Profiles applying to the current host:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif"">DesktopMer</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Here is the xml host definition:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><host name="cnsuzd.+|cnsuzw.+|cnsuzt.+ " profile-id="DesktopStdChina"/><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Tell me if you need more information or more tests.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">Jonathan Verdeyen</span></b><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">IT Engineer</span><span lang="EN-GB" style="color:gray"><br>
<br>
<o:p></o:p></span></p>
</div>
<br>
<hr>
<font face="Arial" color="Black" size="1">Ce message et toutes les pièces jointes (ci-après le "message") sont confidentiels et établis à l'intention exclusive<br>
de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Si vous n'êtes pas destinataire de ce<br>
message, merci de le détruire immédiatement et d'avertir l'expéditeur.<br>
--> Pensez à l'environnement avant d'imprimer ce message.<br>
<br>
This message and any attachments (the "message") are confidential and intended solely for the addressees.<br>
Any unauthorised use or dissemination is prohibited. If you are not the intended addressee of this message,<br>
please delete it immediately and inform the sender.<br>
--> Please consider the environment before printing this email.<br>
</font>
<br clear="both">
______________________________________________________________________<BR>
This email has been scanned by the Symantec Email Security.cloud service.<BR>
For more information please visit http://www.symanteccloud.com<BR>
______________________________________________________________________<BR>
</body>
</html>