Questions tagged [xml]
Extensible Markup Language
141
questions
0
votes
0
answers
84
views
BIND 9 XML Statistics-channels build modification after server is already up and running
Migrating away from BIND9 to Route53 and would prefer not to use the named.stats file for monitoring activity during the migration period. As such, I checked the current named.conf and verified no ...
0
votes
1
answer
758
views
Using autounattend.xml to automate a Windows installation with Ventoy bootloader
In the company I work for, we occasionally need to build out servers which we sell to clients. Part of this process includes installing an OS, and in the past, we have used Windows 10 Ent. IoT and ...
0
votes
0
answers
33
views
Denodo/VQL ISO_WEEK
In Denodo, I wanted to work with iso week. There were no functions or calculations that I could find.
I wanted to use the following code:
GETWEEK("ISO WEEK", ADDWEEK(CURRENT DATE(), 1)) ...
0
votes
0
answers
94
views
xml2 Ubuntu equivalent on centos / Rocky
I am setting up monitor for bind service on Rocky Linux.
I need to parse xml output of bind statistics.
On ubuntu I can run the next command and get valid output
root@ubuntu:~# curl -s 172.19.0.30:...
0
votes
0
answers
193
views
Ansible xml add_children not working
I have an ansible playbook in which I try to add xml elements to an xml file (tomcat-users.xml) as follows
- name: Update Scheme Option in tomcat-users.xml add role user elements
become: yes
...
0
votes
1
answer
760
views
Write original Ansible variable to xml file
I'm trying to find a way to write the original {{ ansible_host }} var in to a xml file.
This variable will replace a static IP in a device config.
The reason that I want to replace this IP with the ...
0
votes
1
answer
348
views
update XML duplicate named section with Powershell
Using Powershell, I would like to update Outlook's compatible status to True
<default>
<application>Excel.exe</application>
<compatible>True</compatible>
<...
0
votes
0
answers
1k
views
Loading a KVM guest with static IP using XML file
I have an XML template for the image I am loading on KVM using ansible. For now, the image loads without IP. I would like to know if there is a way to add static IP on the XML template so that my VM ...
0
votes
2
answers
498
views
Override virsh network from xml file to apply custom dnsmasq options outside
I want to automatically add a DNS CNAME entry using the dnsmasq namespace. Since this seems too complex to be handled by virsh net-edit, my idea is to use virsh net-dumpxml, apply the modifications ...
-1
votes
1
answer
659
views
concatenate few .xml files in one bigger .xml document
Exist the possibility to concatenate more .xml files in just one .xml document using powershell?
For example I have 14 .xml file which have the same format (columns/name of columns) and I want in ...
0
votes
0
answers
2k
views
JBOSS giving error with this standalone.xml
im going to start standalone.sh and shows up a red error message like this
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
11:01:52,572 INFO ...
2
votes
0
answers
1k
views
Getting all physical drive data via HP iLo 5 locfg (XML)
I'm creating a tool in golang to parse the XML returned from approx 150 HPE DL360 Gen 10 servers, and then send over to ElasticSearch.
However, I'm finding discrepancies in the data depending on the ...
0
votes
1
answer
88
views
Pass encrypted value from xml file to ms build command
I have a xml file with passwords in it. I have to pass these passwords from a xml file to password property in MSBUILD command.
Can anyone guide me
Xml:
<?xml versio------>
<configuration>
...
2
votes
1
answer
452
views
Templating firewalld zones with ansible - issue with xml manipulation
With ansible 2.9 on RHEL7.6 I'm trying to configure individual firewalld zones which also includes configuration of rich rules.
It all works fine, except when I'm trying to template adding a rich rule ...
1
vote
1
answer
12k
views
Python Parsing HTTP SOAP Response
I've been following the examples from HERE and HERE trying parse a SOAP response, but not able to get the element I want.
Example SOAP Response:
<?xml version="1.0" encoding="UTF-8"?>
<...
0
votes
0
answers
2k
views
GPO not applying default file associations
so I've exported a default association file as XML using DISM from a PC to use as a template. I placed the XML file on a share drive and created a GPO and went to
Computer Configuration > Policies ...
4
votes
1
answer
11k
views
how to force Nginx to override header?
I'm trying to display my sitemaps. Browsers display my sitemap index as xml but treat post sitemaps as plain text.
I tried to override content type with below configuration but it didn't help.
...
2
votes
1
answer
2k
views
Filter Windows Event Security logs by a range of Source IP Address
So i know you could filter by a Source IP Address. But what if you want to filter by a range of Source IP address. i tried
<QueryList>
<Query Id="0" Path="Security">
<Select ...
2
votes
1
answer
813
views
Windows 10 provisioning package applied but not working
I set up a simple provisioning package for a multi-app kiosk in Windows 10 Pro 1803. The package installs without any visible errors, but when I login with the specified user none of my changes took.
...
2
votes
1
answer
17k
views
Possible to set ComputerName in Unattend.xml with script?
I have been told that it is possible to run Powershell directly from the Unattend.xml during an OS install.
I am trying to set the ComputerName to (A + "SerialNumber") but not matter how I write the ...
0
votes
0
answers
5k
views
KVM gets stuck at “Booting from ROM”
I created I a ubuntu 16.04 vm with a kickstart file using the following xml
<domain type="kvm">
<name>""" + name + """</name>
<memory unit='GB'>1</memory>
<vcpu>1&...
1
vote
2
answers
2k
views
Signature verification for InCommon SAML metadata using xmlsec1 fails
InCommon Federation provides IdP and SP metadata. Their refresh policy recommends frequent checking of the metadata aggregate to use the most recent version. They strongly recommend InCommon SPs ...
0
votes
1
answer
101
views
How to uniquely identity certificates
We have a service receiving a loot of signed XML documents, some of them are signed with a self-signed certificate and some are signed from a trusted certificate authority.
What is the best way to ...
2
votes
1
answer
300
views
Need a .ps1 command to run at user login via GPO
How do I get the following command to run at user login (users don't have local admin privileges) via GPO (or some other way) to add VPN connection
Add-VpnConnection -Name "VPN" -ServerAddress "vpn....
0
votes
1
answer
1k
views
Extract data from multiple XMLs and generate CSV report - Powershell
I have few connectionstrings which are xml files. I need to generate a CSV report using all these connectionstrings with the following output:
Below is my PS script which works fine for 1 file and ...
0
votes
1
answer
664
views
Use for [$i] variable to create csv columns - Powershell
I am trying to grab information from the connectionstrings.config file and populate it to a CSV. I have the following script so far:
$Filename = "C:\new.config"
[xml]$config = Get-Content $fileName
$...
2
votes
1
answer
5k
views
Installing XML::Parser, but it dies due to Expat dependency
I'm trying to install XML::Parser, but for some reason it's failing:
cpanm (App::cpanminus) 1.7040 on perl 5.022001 built for x86_64-linux-gnu-thread-multi
Work directory is /root/.cpanm/work/...
2
votes
1
answer
6k
views
SHIBBOLETH SP - Shibboleth handler invoked at an unconfigured location - Shibboleth.sso/Session/
I am trying to get shibboleth configured. When I go to https://mysite/secure/index.php, it works properly, I can authenticate, etc. but when I go to https://mysite/Shibboleth.sso/Status (or any other ...
0
votes
1
answer
495
views
Interpreting a Deadlock Log / XDL file
I've generated the following XML + XDL:
<deadlock>
<victim-list>
<victimProcess id="processc1eaf13468" />
</victim-list>
<process-list>
<process id="...
0
votes
0
answers
1k
views
mod_security blocking SOAP client simulation
I'm writing a PHP SOAP server and I'm using PAW ( mac app ) to simulate SOAP client request
on my local server I get a SOAP response on production server a get an 403 Forbidden error, since on this ...
1
vote
0
answers
373
views
Is there any way to tell the Puppet augeas resource which encoding to use?
i am new to augeas, and i am getting plenty of errors like:
Could not evaluate: invalid byte sequence in UTF-8
in special i expect augeas to honor the encoding declaration in a XML-file
<?xml ...
1
vote
1
answer
5k
views
How to serve Autodiscover.xml using Nginx
I am trying to serve an Autodiscover.xml file using Nginx:
Below is my config:
upstream autodiscoverexamplecoukbackend {
server unix:/var/run/php-fcgi-autodiscoverexamplecouk.sock;
}
server ...
11
votes
2
answers
25k
views
How to filter windows event log with wildcard?
According to the document here, the asterisk wildcard is supported and hence it should work in eg.
*[EventData[Data[@Name='TargetUserName'] ='User1*']]
but I cannot get any wildcard filter to work - ...
0
votes
1
answer
2k
views
"Class 'XMLWriter' not found" Error in php | php55w-xml-5.5.24-1.w6.x86_64.rpm is missing
I am getting this error in PHP in server Fatal Error (E_ERROR): Class 'XMLWriter' not found . we are using Cent OS 6
After exploring some sites, we found that we need to install php55w-xml-5.5.24-1....
5
votes
1
answer
19k
views
PHP 5.6 undefined function xml_parser_create
I have a new php 5.6 installation and get the following error from my application:
Fatal error: Call to undefined function xml_parser_create()
But libxml seems to be OK? phpinfo about libxml is:
...
3
votes
0
answers
5k
views
How to filter ObjectName in Windows logs with Advanced XML Filtering?
I want to deploy a centralized log analysis tool on my domain.
I'm currently configuring Windows to audit a shared network drive (read, write, access attempt of domain users) to forward Windows events ...
1
vote
1
answer
152
views
Is there a generally consistent way of exporting AD users to XML across Windows Server versions?
I'm writing a user data synchronization service in go, which is supposed to consume CSV and XML files containing user data from customers. The CSV part is pretty straight-forward.
Concerning XML, I'd ...
1
vote
2
answers
243
views
tcpdump http containing non expected payload bytes
I am monitoring an openvpn link with tcpdump a la
tcpdump -i tun5 -w capture.dump -W 100 -C 100M -s 0 -n
There is http/xml traffic going over that link which is basically caputered just fine.
However, ...
0
votes
0
answers
783
views
Manual autodiscover implementation failing. Why?
I am managing a mail server, and would like to have my Outlook users be able to automatically set up their mail server information. Normally this is done with an autodiscover file. Here's how I ...
2
votes
0
answers
219
views
Pass null arguments in an scheduled task xml file
I am trying to run a batch file when some specific events occurs and I want to pass some null arguments to one of my tasks. The problem is that I don't know how.
I have tried a lot of combinations ...
1
vote
0
answers
60
views
FTP automate download process not working on windows
I have my script as following:
<?xml version="1.0" encoding="UTF-8"?>
<project name="Getting from FTP" default="info" basedir=".">
<target name="info">
<property name="...
-1
votes
2
answers
2k
views
Windows 7 (32-bit) Sysprep not running Unattend.XML but no error in logs
I am trying to Sysprep a Windows image that will run on identical hardware. The issue I'm facing is that the Unattend.XML file is somehow not running whatsoever, but the logs itself do not say ...
2
votes
0
answers
286
views
msinfo32 /nfo emits XML with translated tags
I'm working on some system data collection tools for an application I'm involved in supporting, and have run into an exciting wrinkle.
I wanted to capture an msinfo32 /nfo report as part of the ...
2
votes
1
answer
136
views
Are Exchange ActiveSync .xsd schemas available outside of documentation? [closed]
I'm working on an ActiveSync email client application (on Android, not that it matters). I would like to be able to write unit tests that validate the client's WBXML requests against Microsoft's ...
1
vote
2
answers
7k
views
How to Make JBoss 5.1.0 GA Meet Diffie-Hellman Standards?
As non-experts on web server administration and security, we are struggling to update our JBoss 5.1.0 GA web server configuration to meet Diffie-Hellman standards. JBoss was installed for us as part ...
8
votes
3
answers
3k
views
Is it possible to create a generalized configuration file for installing Windows features using PowerShell?
I'm currently trying to automate the build of a VM running Windows Server 2012 R2. At the moment the challenge is automating the addition of roles and features. Within the roles and features wizard ...
1
vote
2
answers
348
views
How can I install php53u-xml package (CentOS)?
How can I install php53u-xml package (CentOS)? Is there still a repository where this package is available? I cannot find this package nowhere.
Info about one of installed packages:
[root@us03659 ~]...
1
vote
0
answers
512
views
Event Log trigger configuration for scheduled tasks not working despite working with the eventviewer
I'm trying to start a task that gets triggered by specific events. The XML configuration for the filter I'm using is the following:
<QueryList>
<Query Id="0" Path="Security">
<...
1
vote
1
answer
4k
views
Windows Server Blocking Web Service?
I have a program that uses a webservice that connects to a server to get software licenses. This is blocked in Windows Server 2003, 2008, 2008 R2, 2012, 2012 R2 by default. However, in Windows XP, ...
1
vote
0
answers
536
views
LogStash: iterate array using exec input plugin
I'm using the following logstash config file to request and parse xml response from a server:
input {
exec {
command => "/usr/bin/curl -s http://%{host}/api/messages"
interval => 10
...