Latest Server related questions

Score: 0
chx avatar
How do you SSH into a machine to set up a VNC tunnel and a SOCKS proxy if there's a jumphost?
cn flag
chx

Currently I am running

autossh -fqND "*:8080" -p 2222 192.168.1.217
autossh -fqN -L 5990:192.168.1.217:5900 home

and home is the jumphost to 192.168.1.217 set with ProxyJump home. So I am wondering whether the two could be merged into a single autossh command.

Score: 0
mod_security blocks redirects (to non-www and https)
sv flag

httpd-vhosts.conf

    <VirtualHost *:80>
        ServerName example.com
        ServerAlias www.example.com
        DocumentRoot "c:/web/www/mysite"
    Alias /.well-known c:/web/www/mysite/.well-known
Redirect permanent / https://example.com [L,R=301]
    </VirtualHost>

httpd-ssl.conf

        <VirtualHost *:443>
    
    ServerName example.com
    
    SSLEngine on
    SSLCertificate ...
Score: 0
okapi avatar
Putting .k5login credentials in ldap with freeipa
us flag

On the systems I administer, in addition to human user accounts, we have a number of accounts associated with roles, software and specific data.

By using a .k5login file in home directories, it is possible to use ssh to connect to a different machine as a different user. With freeipa it is possible to add sudo rules so that members of a specific group can change to a particular role account. But I'd lik ...

Score: 0
Kerberos Works If Previously Not Pre-Authorized
cn flag

I'm moving an application from WebLogic to JBoss EAP 6.4 and I almost have it working. The issue is that I can only get Kerberos authentication to work if I play with the isInitiator property in my standalone-full-ha.xml for the spnego-server.

If I set isInitiator=true, then I get the error on app-start "Pre-authentication information was invalid".

If I set isInitiator=false, then I get "NTLM speci ...

Score: 0
pefu avatar
How can I cause systemd to wait starting a unit until a certain condition is fullfilled
cn flag

I'm still struggling to understand boot sequence dependency configuration in systemd unit files. I've read the manual (systemd.unit).

I tried to add dependencies using the After= and Requires= lines to my unit configuration file. However it still regulary fails during system startup because systemd starts it too early before a needed resource (in my case a LUKS encrypted volume) has become availa ...

Score: 0
Karmita Larrain avatar
Roundcube Activity log
gh flag

How do you access the activity log for a specific email user that reflects when an account was deactivated and reactivated? Dates and times?enter image description here

Also how can you retrieve previous emails that was in that account email inbox.

Score: 0
Warning: The server has IP addresses with conflicting site associations
cn flag

There's a related post here, but it doesn't seem to match what I have going on.

We've been having strange DFS issues related to users being pushed the wrong DFS server, or their mapped drives being unavailable. When running DFSDiag /TestDCs /Domain:[domain] on one of our 5 DCs, I get the following messages for each of the 5 DCs:

'''Validating the site associations on every domain controller of the f ...

Score: 1
How to automatically link commit-history to a ticketing system?
cn flag

Our organization uses Gitlab to host all our git-repositories. Most commits refer to one (sometimes more) Jira-tickets and/or other issue-trackers. Something like:

Add a widget to the trinket

Jira: FOOBAR-1117
ServiceNow: INC0000001319

or even simply:

FOOBAR-1119: add a bell to the wistle

The commit-messages themselves are, obviously, in plain text -- and that's, how it should be. However, when vie ...

Score: 0
kanka.dev avatar
How to create VLAN in ZTE ZXHN H298A Router
br flag

I have a router / modem called ZTE ZXHN H298A V1.0 TTN.19T4_210317.

I'm sharing my network with neighbours but I want to capsule my network and/or the guests network to protect my local network. So I tried to create a VLAN for the guest's WiFi but I get an error message "Current operation is invalid, please check configuration parameters.".

See my try in the screenshot: VLAN Config

How can I isolate  ...

Score: 0
elarichi.y avatar
openvpn: restrict client communications
cn flag

I have 4 windows servers (2008 and 2019) that are correctly connected to a OpenVPN server (ubuntu), and communicating like a charm thanks to “client-to-client” option, I can ping, RDP, access Apache ... All the clients have a ccd file for static ips. I would like to allow only one client to access these servers for administration purpose and prevent them from seeing each other. I can’t find a simp ...

Score: 1
Curu avatar
How to use one host server public IP to access multiple guest VMs?
in flag

I have a bare metal host server with multiple guest VMs made with QEMU/KVM using Virtual network "default":NAT option. There is only one public IP available.

For better illustration:

  • BM host server (Ubuntu), IP 89.185.xx.xx

  • VM guest server (Ubuntu) no.1, IP 192.168.122.101

    VM guest server (Ubuntu) no.2, IP 192.168.122.102

    VM guest server (Ubuntu) no.3, IP 192.168.122.103

    ...

Now I'd like to ru ...

Score: 10
z0lupka avatar
What are the reasons to use a firewall in transparent mode?
br flag

After searching some information on the Internet, I found only two advantages of a transparent firewall:

  • "Stealth" mode, i.e., it became an invisible host on the network
  • Installs easily into an existing network without modifying the Internet Protocol (IP) address

But this looks like a bit incomplete and maybe groundless. It seems that there should be some more good reasons for vendors (or open-source  ...

Score: 0
Application Requires Cross Domain Authentication - No trust
in flag

I've an application that going forward is going to require cross domain authentication using an AD service account across 2 separate organisations - for example domain A application needs to authenticate with domain B backend.

Does anyone know of a way that I could get cross domain authentication working without a domain trust in place between 2 separate organisations - due to security concerns t ...

Score: 0
Entretoiz avatar
How to restore sql+txt dump?
st flag

I have some dumps created with the following command:

mysqldump --host=$host --user=$dbuser --password=$dbpass --tab=$backupdir/$dbname $dbname

That created couple files table.sql/table.txt with the structure in the first (that can can be installed with mysql -u username -p database_name < table.sql) and the rows in the second.

How can I import the rows with that files ?

Score: 0
Don Masters avatar
Openstack Pike fails after Ubuntu 18.04 upgrade
us flag

First off, I am an amateur to Openstack upgrading and made a big mistake in upgrading the controller and compute nodes OS from Ubuntu 16.04 to 18.04. I know now that was a mistake. My Openstack Pike fails now.

Is there a step by step procedure to undo what I did in reference to the 16.04 to 18.04 upgrade?

Don

Score: 0
How to update Azure AD MS Group Mail and ProxyAddresses field using PowerShell
in flag

I need to update email address domain for all Azure AD Groups (of all types Unified, Dynamic ... ) and I am using PowerShell 7 with latest stable AzureAD module.

I have an issue with setting new value to "Mail" and "ProxyAddresses" properties using Set-AzureADMSGroup cmdlet. Can somebody help / provide information or example on how to correctly set those properties, since documentation is not cle ...

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.