Categories
ACME Certbot HAproxy Letsencrypt

Using HAproxy with letsencrypt/certbot

While trying to do SSL off-loading/termination using haproxy for some test instances I was looking for a solution to handle certificates from letsencrypt (via certbot) with haproxy (and no separate webserver, neither the built-in one of certbot nor any apache/nginx/…). And there really is a solution for this! A more detailed post about how to […]

Categories
Linux

Converting old school debian repo configs to APT822

While upgrading to Ubuntu 24.04 some of the sources.list files were (automatically) converted to the new APT822 standard. However others were left untouched (or deactivated). For all of you out there, here are some of my findings while doing the file conversion: Let’s take the docker repo as an example (original description here): Make sure […]

Categories
Encryption Filesystem Kerberos Linux NFS

Ubuntu 24.04.1 upgrade and NFS/krb5 problems

After upgrading my Ubuntu 22.04 installation to Ubuntu 24.04.1 (using do-release-upgrade) my NFS exports stopped working. Kernel 6.8.0-41 reported an OOPS as soon as the NFS share was accessed (using sec=krb5b on the NFS client): Looking for a similar bug I found one on the NFS kernel mailing list titled “[PATCH] SUNRPC: Fix loop termination […]

Categories
Directory Service Kerberos LDAP Linux

Joining Ubuntu client to Active Directory

…or to be exact: the Samba version of it 🙂 So as an Open Source guy I obviously don’t run a Microsoft Active Directory. However since Samba version 4 this software does not only support file and print services, it also can act as an Active Directory. And guess what: That’s what I do. Unfortunately […]

Categories
IdP Keycloak SAML Shibboleth SingleSignOn SSO

Keycloak: Map LDAP groups to SAML roles

If you want to use Keycloak as IdP for your SAML login you might wish to limit access to certain Service Providers (SPs) according to your LDAP group memberships. The way to do this is not very intuitive, so I’ll try to show an easy way to do this. What we’ll be doing: Step 1: […]

Categories
Apache IdP Keycloak Shibboleth SingleSignOn SSO Webserver

Apache SAML SSO using mellon (example: open-webui)

This short post is about how to run the open-webui docker container with an apache based reversed proxy (handling the SSL termination and authentication with mod-auth-mellon). In the following example the open-webui docker container is listening on localhost only, port 8009 (s. variable definition at the beginning of the apache2 config): In order to use […]

Categories
Apache Directory Service LDAP Webserver

Apache authentication with Active Directory (no proxy account required)

While playing around with Apache web server authentication I was wondering: Is it possible to authenticate Apache against LDAP without requiring a proxy account to do the queries? At first glance this seems to require an LDAP server that allows anonymous bind and read access, however there’s another way: If a regular user (of the […]

Categories
Kerberos Linux SSO

Fun with Kerberos – WIP

Today I changed some things regarding authentication in my local setup and (once again) was curious about enabling more services to user kerberos logins. And – as always – I ended up in an extensive debug session in order to make (some) things work. To spare some of you some of your precious time I’ll […]

Categories
Linux Network VPN

NordVPN on Linux

I recently got a few NordVPN licenses, so I gave it a try. The GUI client on Linux seems extremely limited, so settings things up requires some good old shell commands. Basic installation/setup Documentation can be found here: At that point you’ll need to reboot in order to apply the new group membership (at least […]

Categories
3D Printing

3D-Printer: Bambu Lab A1

This is about the newest member of my geek collection: My new Bambu Lab A1 3D Printer. Cloud or LAN-only? First of all: The Bambu printer series seems to be quite cloud centric, there is however a LAN-only mode (with limited functionality and even less documentation). As I am planning to use the printer in […]