| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
u_parse_query starts with strtok_r(src, "&,", &pp) thus these filters
will be two tokens. As the second one does not contain an equal sign,
u_parse_query returns NULL, and hash_scan_begin tries to use it
without any checks.
The problem is with the comma in the filter, and I could not find a
way to circumvent it. As these minimal examples demonstrates:
wsman enumerate 'foo' --dialect "http://schemas.dmtf.org/wbem/wsman/1/wsman/SelectorFilter" --filter 'foo="bar,foo"'
wsman enumerate 'foo' --dialect "http://schemas.dmtf.org/wbem/wsman/1/wsman/SelectorFilter" --filter "foo='bar,foo'"
Reported by Zoltan Micskei <zoltan.micskei@mit.bme.hu>
|
|
|
|
|
| |
This option should "Only output request. Not send it." which is hard
to implement in wsman-client (wsmc_action_*()) and of little value.
|
|
|
|
|
| |
Add a couple of #include "u/libu.h"
See commit 7d91f671 of openwsman
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sing wsmancli, when the response XML is invalid (such as due to
invalid characters) an error is displayed with only a partial view of
the XML and no other information that could tell us where exactly the
problem is.
In debug mode (using -d option), it would be useful if the tool could
dump the raw XML for further analysis before it could be interpreted
by libxml functions.
Patch by Chris Poblete
|
|
|
|
|
|
| |
This fixes the default port setting to match wsmc_create() call.
(upstream issue 3257661, Zoltan Micskei)
|
|
|
|
|
|
|
|
|
|
| |
Using wsmancli 2.2.5, we also got a segmentation fault.
Analysis of the code found that output_file is NULL and is being used.
This is occurring when there are multiple instances returned and pull
operation is done and output file is not defined.
Patch by Chris Poblete
|
|
|
|
|
|
|
|
|
|
| |
From: Kamil Dudka <kdudka@redhat.com>
wsman client doesn't work correctly on some architectures (ppc, s390x).
It ignores the given port number as well as all integral parameters.
The integer parsing function does not return the value but passes it
by writing through a pointer, assuming long int target.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In an enumerate operation where output to file is requested and the
response require more than one pull, only the last pull is saved to
file. The rest of the response is overwritten.
Our proposal solution is for each pull response, it is saved to a file
with numbered suffix. This is only applicable to an enumerate
operation and an enumeration context is returned.
Also included is a minor fix to file open from read/write to write
mode. I find no reason for the operation to read the output file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In wsmancli-2.2.3, we notice that the references and associators
enumeration commands cause an inverse request. That is, a
"references" action command adds a "wsmb:AssociatedInstances" in the
enumeration filter. And an "associators" action command adds a
"wsmb:AssociationInstances" in the enumeration filter.
An "associators" command DSP0200 section 5.3.2.14 enumerates
"associated" classes. This statement is also defined by DSP0227
section 17.1 where it specifies in section 17.1.7 the use of
"wsmb:AssociatedInstances" element in the filter.
A "references" command DSP0200 section 5.3.2.16 enumerates
"association" classes. This statement is also defined by DSP0227
section 17.1 where it specifies in section 17.1.9 the use of
"wsmb:AssociationInstances" element in the filter.
|
|
|
|
|
|
|
|
|
|
|
| |
- Enhance enumerate with association filter to have the ability to
specify the optional elements namely: AssociationClassName, Role,
ResultClassName, ResultRole and IncludeResultProperty.
(IncludeResultProperty is a list, specify it as a comma separated
list in the “U” option.
(Chris Poblete)
(This patch was in svn but missing from git :-/)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Attempting to set a property value to an empty string causes invalid XML
characters to be written into the Put request which is then rejected by
the server with a WsMan Fault response.
e.g. wsman put url -k propertyname=""
(Found and fixed by Trevor Witten)
|
|
|
|
|
| |
add --version to wsman to print version and build timestamp
|
| |
|
|
|
|
|
| |
style
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Added assoicatiors and references actions instead of having them as options
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
wsmc_action_unsubscribe/wsmc_action_renew
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
notification
|
| |
|
| |
|
| |
|
|
|
|
| |
this function
|
|
|
|
|
|
|
|
| |
- declare getpass() explicitly in Linux, since getpass(3) says
"This function is obsolete. Do not use it." and thus unistd.h
doesn't declare it by default.
- pass client pointer to wsmc_transport_fini()
|
| |
|
| |
|
|
|
|
|
| |
removed obsolete client
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|