Latest Server related questions

Score: 1
Debugging Active Directory Login with MongoDB
eg flag

I am trying to log into MongoDB using an active directory username. We're using Percona for MongoDB but I believe this really should be pretty similar to regular MongoDB 5.x authentication.

We've tried variation after variation. Here's the most recent attempt:

net:
   tls:
      mode: requireTLS
      allowConnectionsWithoutCertificates: true
security:
  authorization: enabled
  ldap:
    authz:
      ...
Score: 0
serhatbalik avatar
Configure EKS to use Nexus Private Docker Registry (HTTP/HTTPS)
id flag

I've created an EKS cluster on AWS along with Nexus Repository on DigitalOcean using Terraform & Ansible.

Also I've not created any SSL for the Nexus Repository, so it is "http."

Normally, it is sufficient to add [insecure-registries:...] entry into the self hosted nodes' docker config file, but I am working with EKS the first time and I don't have any access to configuration of the worker nodes ...

Score: -1
wesley allison avatar
How to make a dynamic SSL HTTPS server in nodejs without SNICallback
vn flag

I want to make a dynamic SSL HTTPS server in node.js without using SNICallback, maybe using open SSL?

Score: 0
rpm: define my own variable in spec file
ro flag

Is there a way to declare my own variable inside of a spec file and refer to it as %{my_var} ?

I see there is %define and %global macros, but seems none of it works for my case.

Score: -2
parmicciano avatar
Avoid host to connect to kvm vm and to extract data from vm
ec flag

I use kvm with libvirt and i want to avoid host to extract data from a virtual machine. It's possible that the host can fall in bad hands and that is why i want to protect the vms. How can i protect the few disks from being exploit by the host ?

Score: 0
build of python 3.10 on centos 7 results in ssl import error
ar flag

Adapted from https://docs.python.org/3/using/unix.html?highlight=openssl#custom-openssl I followed the following procedure to build python 3.10 on my centos 7 system.

first I built openssl

2022-05-22 13:57 cd /home/lking/openssl
2022-05-22 13:57 curl -O https://www.openssl.org/source/openssl-1.1.1o.tar.gz
2022-05-22 13:57 tar xzf openssl-1.1.1o.tar.gz
2022-05-24 11:27 cd /home/lking/openssl/openssl-1 ...
Score: 1
user73383 avatar
Can't Recover Space from qcow2 image without deleting wanted snapshots
cn flag

I have a virtual machine that started out with 5 snapshots 1,2,3,4,5.

I used qemu-img to delete snapshots 1,2,3. Snapshots 4 and 5 are still needed and were not deleted.

How can I release the space used by snapshots 1,2,3 and retain snapshots 4 and 5?

I have spent a lot of time searching for a solution, and the solutions I have tried got the following results:

  • Using qemu-img convert (Deleted need ...

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.