[wpkg-users] R: Re: WKPG host identification problem

Stefan Pendl stefan.pendl.71 at gmail.com
Tue Apr 15 19:49:21 CEST 2014


Am 12.04.2014 18:57, schrieb adrianorossi1991 at libero.it:
>
> Hi Dad,
> thank you very much for your answer.
> I've implemented a lot of test without success. I'm sending you a zip 
> attached with this file:
> 1) hosts.xml (with the client definitions);
> To install I've use this command: cscript wpkg.js /synchronize /debug
> 2) local_pc.log (the success install inside the server pc);
> 3) remote_pc.log (the error install inside the client);
> 4) settings.xml (client settings)
>
> I've verify the "Test settings" inside the Client and I've received 
> all [OK]. Also I've verified that inside the client I could find "WPKG 
> Service". It's correct that only the Server version has a service?
>

I would not use the deprecated "name" attribute, since it is a catch all 
attribute for IPs and host names.

The new "hostname" attribute is much better, since it only checks the 
hosts name.
There is now a separate attribute for checking only against IPs which is 
the "ip" attribute.

Another thing is that the host name is not formated like a regular 
expression, so you need to escape the hyphen (-) with a backslash (\) => 
"\-", else it would be interpreted as a range from "a" to "8".


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?




More information about the wpkg-users mailing list