Latest Server related questions

Score: 0
phep avatar
How to solve "Unexpected token" error while adding schac schema to openldap
cn flag

I'm trying to add the schac schema to my OpenLDAP installation using the provided LDIF file but this fails with an "Unexpected token" error:

root [2533] /etc/ldap/schema# ldapadd -Y EXTERNAL -H ldapi:/// -f schac-schema-1.5.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry "cn=schac,cn=schema,cn=config"
ldap ...
Score: 1
DVA avatar
Single Sign-On for Azure Virual Desktop
in flag
DVA

I have the following scenario: A web applications has OIDC authentication/authorization. Using a token from an authenticated user of this application I want to start a RDP session on an Azure Virtual Desktop.

On the Azure desktop I do not want to present an additional credentials prompt but just use the identity of the web user.

Is there any solution that can provide this (Okta, PingIdentity, ...)?  ...

Score: 0
Antoine Brun avatar
AWS ECS: RegisterTaskDefinition result with new revision ends with unexpected changes
us flag

I'm trying to register a new task on AWS ECS using the API

My initial task revision looks like this: initial revision created on ECS UI

I want to call RegisterTaskDefinition to change the task size for example So update Task memory (MiB)1024 Task CPU (unit)512

to Task memory (MiB)2048 Task CPU (unit)1024

So I call the API like this

Aws\Ecs\EcsClient
RegisterTaskDefinition
{
    "containerDefinitions" ...
Score: 0
Damo avatar
Windows 2019 Data Centre prompting to install Windows 10 Update
cn flag

One of our Windows 2019 Servers in Azure is prompting to reboot to install windows 10 updates. This seems extremely odd to me. It is an Azure provisioned image.

It is a production server, I don't really want to just reboot and find out. Can anyone give me a hint?

Screen Shot

Score: 0
Manikandan Ram avatar
Ansible task output to a file in ansible server
sd flag

I'm writing a playbook that will check the application version on different hosts and write the output to a Ansible variable.

My requirement is I want to output the ansible variable to a file output.logPiece of ansible code to write the ansible variable to output.log.

What the problem is the variable is written to the file only for the last host in the hosts inventory, But i want for all the hosts to be appended in the output.log file

Image ref

Score: 2
Philip Colmer avatar
Is DKIM/ARC working properly on my Mailman server?
cn flag

I've set up a Mailman 3 server with Postfix. I've configured Postfix to add DKIM headers using OpenDKIM and a test email from that server to a Microsoft-hosted email address suggests that DKIM is OK:

Authentication-Results: spf=pass (sender IP is 1.2.3.4)
 smtp.mailfrom=mmserver.org; destination.org; dkim=test (signature was
 verified) header.d=mmserver.org;destination.org; dmarc=bestguesspass
 act ...
Score: 0
Maksim Sholomov avatar
How to get PhysicalLocation disk on Windows 2022 like on Windows 2019 via powershell
kp flag

On Windows Server 2019 i usage Get-PhysicalDisk | foreach {$_.PhysicalLocation} its return SCSI0. This is exactly what I need. But on Windows Server 2022 its return PCI Slot 160 : Bus 3 : Device 0 : Function 0 : Adapter 2 : Port 0 : Target 0 : LUN 0

How can you get the same value of PhysicalLocation on Windows 2022?

Both servers run on VMware virtualization and manage by VMware cloud director

Score: 0
MagnusX avatar
Disable opensshd socks to enable 3rd party socks server
ng flag

I want to connect to an 3rd party socks server (Dante), thru a ssh port forward (tunnel?).

But! opensshd is intercepting and handling the socks operation. (and doing a good job to)

But I need to route the output to a proxy, and need the 3rd party socks server.

is there anyway to tell sshd to stop interfering and leave the forwarded port 64001 reach it's destination (Dante)

The client is Android,  ...

Score: 0
Reset IPMI IP on Supermicro server with videocard died
us flag

Today I face a server which videoport is dead (no picture when monitor connects to even on reboot), but this server has IPMI.

The problem is, the IP of IPMI is set to some dummy value (I was told that was for security reason), and now I can't change it since no video available.

Is there any way to reset IPMI IP by changing some jumpers on motherboard or any other non-interactive way?

Please advice!

Score: 0
xogoxec344 avatar
linux system slowdown debugging, high sys usage
in flag

I have a remote linux system that became super slow yesterday. Since the remote luks unlocking I've setup doesn't seem to work reliable and I won't be able to physically access the machine within the next 10 days I'm trying to debug this instead of rebooting.

The system status tools I'm used to are htop and dstat and since I had dstat running in an ssh session I can see that since yesterday 2021-0 ...

Score: 0
Stackerito avatar
Can something in my Nginx config imply why my backend is not sending the 'Access-Control-Allow-Origin' header in POST request?
in flag

*Edit 1: The error seem to be only with POST requests

I have a frontend website on localhost. There is a registration page on localhost/register

The website calls a backend function to register a user at localhost:8080/api/register

I use Axios to POST the username and password. The browser sends two requests: OPTIONS pre-flight request, and then the POST request.

The user is created successfully, howeve ...

Score: 0
Rocky avatar
Best Practice for AWS IAM access keys for use with AWS SDK
cn flag

I want to know the best practice used by big company's for programmatic access for multiple AWS services as there are multiple programs needing access to different-2 services so how it is managed? Did they create multiple access keys for each program for different-2 services or create single one having access to all services?

Score: 0
a b avatar
Multiple core overload on Ubuntu
cn flag
a b

I have a really strange behavior of the server. I run Apache, MySQL, WordPress on it. And recently, it has had a lot of freezes. MySQL/Apache shows high CPU usage (out of 24 cores - 2400% cpu% according to the htop). At first, I thought that the cause of this was MySQL or Apache. So I've tuned the DB, I've turned off the Apache, I've disabled external access to the server, in case it was a DDOS attack.  ...

Score: 0
Recovering a nested PV
us flag

On my Proxmox 6.4 host, I had an LVM Thin pool that was 250GB large. I created an Ubuntu VM (which used LVM for the root partition as well) on it, but accidentally oversubscribed it, so the PV inside the VM was set to 500GB.

Everything ran great for a while until I went over the hidden 250GB limit and the VM crashed with an I/O error and refuses to boot. So now I'm trying to recover the disk. The ...

Score: 0
cuddlydingo avatar
Can I use AD CS to Authenticate Domain Users Instead of a Password?
cn flag

I have a number of Active Directory Domain User Accounts, which function essentially as service accounts. I'd like to avoid having to rotate the passwords for all of those domain user accounts, and rather allow/force those domain user accounts to authenticate via certificates (AD CS) when the domain user accounts are used to run scripts/scheduled tasks/RDP connections.

I've installed AD CS follo ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.