2022 Developer Survey is open! Take survey.

Questions tagged [xml]

Extensible Markup Language

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 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 ...
user avatar
  • 63
0 votes
0 answers
85 views

Set PHP CLI configuration to load XML modules

My Linux Ubuntu 20.04 server is running PHP 7.4 using FPM. I have Joomla installed and am trying to run a script inside the cli directory on the site. The xml PHP module is installed under PHP 7.4 FPM,...
user avatar
0 votes
1 answer
43 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> <...
user avatar
  • 1
0 votes
0 answers
215 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 ...
user avatar
  • 21
0 votes
2 answers
114 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 ...
user avatar
  • 496
-1 votes
1 answer
271 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 ...
user avatar
0 votes
0 answers
1k 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 ...
user avatar
  • 1
2 votes
0 answers
300 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 ...
user avatar
0 votes
1 answer
37 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> ...
user avatar
2 votes
1 answer
335 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 ...
user avatar
  • 65
1 vote
1 answer
8k 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"?> <...
user avatar
0 votes
0 answers
1k 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 ...
user avatar
  • 111
4 votes
1 answer
8k 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. ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
2 votes
1 answer
725 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. ...
user avatar
1 vote
1 answer
12k 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 ...
user avatar
  • 115
0 votes
0 answers
4k 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&...
user avatar
  • 133
1 vote
2 answers
1k 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 ...
user avatar
  • 11
0 votes
1 answer
54 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 ...
user avatar
  • 239
2 votes
1 answer
236 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....
user avatar
0 votes
1 answer
925 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 ...
user avatar
  • 33
0 votes
1 answer
601 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 $...
user avatar
  • 33
2 votes
1 answer
4k 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/...
user avatar
0 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 ...
user avatar
0 votes
1 answer
391 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="...
user avatar
  • 33
0 votes
0 answers
907 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 ...
user avatar
  • 123
1 vote
0 answers
337 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 ...
user avatar
  • 111
1 vote
1 answer
4k 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 ...
user avatar
10 votes
2 answers
21k 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 - ...
user avatar
  • 203
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....
user avatar
  • 111
5 votes
1 answer
18k 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: ...
user avatar
2 votes
0 answers
4k 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 ...
user avatar
  • 21
1 vote
1 answer
121 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 ...
user avatar
1 vote
2 answers
186 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, ...
user avatar
0 votes
0 answers
729 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 ...
user avatar
2 votes
0 answers
178 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 ...
user avatar
1 vote
0 answers
57 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="...
user avatar
-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 ...
user avatar
  • 1
1 vote
0 answers
263 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 ...
user avatar
  • 10.3k
2 votes
1 answer
126 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 ...
user avatar
  • 123
1 vote
2 answers
6k 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 ...
user avatar
8 votes
3 answers
2k 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 ...
user avatar
1 vote
2 answers
332 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 ~]...
user avatar
1 vote
0 answers
503 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"> <...
user avatar
  • 11
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, ...
user avatar
  • 309
1 vote
0 answers
471 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 ...
user avatar
  • 11
1 vote
2 answers
868 views

How to separate solr/home and data/dir in Catalina/localhost XML file?

I've the following configuration file within conf/Catalina/localhost in Tomcat 7: <Context docBase="webapps/solr.war" debug="0" crossContext="true" > <Environment name="solr/home" type="...
user avatar
  • 5,797
1 vote
0 answers
750 views

Windows Forwarded Events date filter not working

I have a Windows Server 2008 R2 configured to receive forwarded events from a large amount of clients (Windows 7\8.1). It receives events in the event ID range of 8000-8006 from the WLAN-Autoconfig ...
user avatar
  • 31
1 vote
1 answer
787 views

IIS 7.5 deployment's issue - WebApp won't load

Recently, I've been working on a new WebApplication (c# asp.net MVC 4 with VS 2013) and now is time to deploy it on my company's server (WS 2008 R2 SP1). The project is working fine under Visual ...
user avatar
0 votes
2 answers
1k views

nginx vs apache when returning XML files

My head is tangled around this problem I have: Here's a link to an XML file on nginx: http://tag.sprtad.com/files/vast.xml here's a link to an XML file on Apache http://serve.sprtad.com/test.xml ...
user avatar
  • 101