<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>server on CoderOnline</title>
    <link>https://coderonline.de/configuration/server/</link>
    <description>Recent content in server on CoderOnline</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sun, 02 Feb 2025 01:12:13 +0100</lastBuildDate>
    <atom:link href="https://coderonline.de/configuration/server/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>samba4</title>
      <link>https://coderonline.de/configuration/server/fileserver/samba/</link>
      <pubDate>Thu, 30 May 2024 20:20:53 +0200</pubDate>
      <guid>https://coderonline.de/configuration/server/fileserver/samba/</guid>
      <description>&lt;h1 id=&#34;samba-cheat-sheet&#34;&gt;&#xA;  Samba cheat sheet&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#samba-cheat-sheet&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;p&gt;Main configuration file (FreeBSD &lt;code&gt;/usr/local/etc/smb4.conf&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;[global]&#xA;    workgroup = WORKGROUP&#xA;    realm = workgroup.local&#xA;    netbios name = NAS&#xA;&#xA;[coderonline]&#xA;    path = /home/coderonline&#xA;    public = yes&#xA;    writable = yes&#xA;    printable = no&#xA;    guest ok = no&#xA;    valid users = coderonline&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;user accounts must exist, password login not necessarily, because user accounts&#xA;are handled independant, users added with:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;pdbedit -a -u max&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;list all users on a samba server:&#xA;pdbedit -L -v&lt;/p&gt;</description>
    </item>
    <item>
      <title>pipewire</title>
      <link>https://coderonline.de/configuration/server/pipewire/</link>
      <pubDate>Fri, 03 Dec 2021 22:04:17 +0100</pubDate>
      <guid>https://coderonline.de/configuration/server/pipewire/</guid>
      <description>&lt;h1 id=&#34;why-pipewire-and-not-pulseaudio&#34;&gt;&#xA;  why pipewire and not pulseaudio&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#why-pipewire-and-not-pulseaudio&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;p&gt;Short answer: Because you have no other choice if you want to share your screen&#xA;in a video conferencing tool, like &lt;a href=&#34;https://bigbluebutton.org/&#34;&gt;BigBlueButton&lt;/a&gt;&#xA;under a &lt;a href=&#34;https://wayland.freedesktop.org/docs/html/ch02.html&#34;&gt;wayland session compositor&lt;/a&gt;, like e.g.&#xA;&lt;a href=&#34;https://swaywm.org/&#34;&gt;sway&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h1 id=&#34;list-default-recording-device&#34;&gt;&#xA;  list default recording device&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#list-default-recording-device&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;p&gt;I could not find a simple method to determine the default sink and source yet,&#xA;but at least the following two command lines work for now:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;pw-dump | jq -r &amp;#34;.[$(pw-cat -r --list-targets | egrep -o &amp;#39;^\*\s[0-9]+&amp;#39; | cut -f2)].info.props.\&amp;#34;node.description\&amp;#34;&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;pw-cat -r --list-targets | egrep &amp;#39;^\*\s[0-9]+&amp;#39; | grep -o &amp;#34;\&amp;#34;.*\&amp;#34;&amp;#34; | tr -d &amp;#34;\&amp;#34;&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id=&#34;list-default-playback-device&#34;&gt;&#xA;  list default playback device&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#list-default-playback-device&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;p&gt;The only nice thing about both commands is, that changing one character is&#xA;enough to display either the default recording or playback device.&lt;/p&gt;</description>
    </item>
    <item>
      <title>pulseaudio</title>
      <link>https://coderonline.de/configuration/server/pulseaudio/</link>
      <pubDate>Fri, 03 Dec 2021 22:04:17 +0100</pubDate>
      <guid>https://coderonline.de/configuration/server/pulseaudio/</guid>
      <description>&lt;h2 id=&#34;network-server&#34;&gt;&#xA;  Network Server&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#network-server&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;A Pulseaudio network server is easy to configure and comes handy&#xA;when you have multiple computers or virtual machines and just one pair&#xA;of speakers. Further more do not all remote desktop solutions deliver&#xA;sound.&lt;/p&gt;&#xA;&lt;h3 id=&#34;firewall&#34;&gt;&#xA;  Firewall&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#firewall&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;The server awaits incoming connections on port &lt;code&gt;4731&lt;/code&gt;, which is why&#xA;this port must be accessible through the firewall.&lt;/p&gt;&#xA;&lt;h2 id=&#34;redirection-to-jack-audio-server&#34;&gt;&#xA;  Redirection to Jack Audio Server&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#redirection-to-jack-audio-server&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;pacmd load-module module-jack-sink channels=2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2 id=&#34;connecting-a-client-to-a-running-server&#34;&gt;&#xA;  Connecting a client to a running Server&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#connecting-a-client-to-a-running-server&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;pactl load-module module-tunnel-sink-new sink_name=server_name channels=2 rate=48000 server=127.0.0.1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;where 127.0.0.1 is the IP-Address or host name of the pulseaudio server&#xA;and all other parameters are optional.&lt;/p&gt;</description>
    </item>
    <item>
      <title>DLNA</title>
      <link>https://coderonline.de/configuration/server/dlna/</link>
      <pubDate>Thu, 21 Oct 2021 00:00:00 +0000</pubDate>
      <guid>https://coderonline.de/configuration/server/dlna/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://minidlna.sourceforge.net&#34;&gt;minidlna&lt;/a&gt; can be used to advertise and&#xA;provide a DLNA server services in the local network. Other solutions are&#xA;gerbera or plexmediaserver (proprietary), which offer a nicer http interface.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://www.videolan.org/vlc/&#34;&gt;VLC media player&lt;/a&gt; can be used to discover&#xA;existing servers on the network. For that use &lt;code&gt;View -&amp;gt; Playlist&lt;/code&gt; and in the&#xA;sidebar select &lt;code&gt;universal plug&#39;n&#39;play&lt;/code&gt;. The DLNA server should then appear&#xA;automatically, if configured correctly.&lt;/p&gt;&#xA;&lt;p&gt;A firewall can potentially make the server undiscoverable. The UDP port 1900&#xA;has to be opened to allow incoming traffic, which is coming from&#xA;&lt;code&gt;239.255.255.250&lt;/code&gt;, but we will skip that for this initial test to make it&#xA;easier to read:&lt;/p&gt;</description>
    </item>
    <item>
      <title>OpenVPN</title>
      <link>https://coderonline.de/configuration/server/openvpn/</link>
      <pubDate>Wed, 28 Sep 2016 03:06:21 +0200</pubDate>
      <guid>https://coderonline.de/configuration/server/openvpn/</guid>
      <description>&lt;blockquote class=&#34;book-hint warning&#34;&gt;&#xA;  &lt;strong&gt;Note:&lt;/strong&gt; This page is under development&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#!/bin/bash&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;set -x&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;export EASYRSA_BATCH&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;easyrsa init-pki&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cp /etc/easy-rsa/openssl-easyrsa.cnf pki/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cp /etc/easy-rsa/openssl-easyrsa.cnf pki/safessl-easyrsa.cnf&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cp -r /etc/easy-rsa/x509-types pki/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;EASYRSA_REQ_CN&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;`hostname -f`&amp;#34;&lt;/span&gt; EASYRSA_KEY_SIZE&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;4096&lt;/span&gt; easyrsa build-ca&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;easyrsa build-serverClient-full serverclient1 nopass&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;easyrsa build-serverClient-full serverclient2 nopass&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;easyrsa build-serverClient-full serverclient3 nopass&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# easyrsa gen-req         client1 nopass&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# easyrsa sign-req client client1&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# easyrsa gen-req         server1 nopass&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# easyrsa sign-req server server1&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;openssl dhparam -out dh.pem &lt;span style=&#34;color:#ae81ff&#34;&gt;4096&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;client1.conf&lt;/p&gt;</description>
    </item>
    <item>
      <title>powerdns</title>
      <link>https://coderonline.de/configuration/server/powerdns/</link>
      <pubDate>Sun, 10 Jul 2016 04:14:08 +0200</pubDate>
      <guid>https://coderonline.de/configuration/server/powerdns/</guid>
      <description>&lt;blockquote class=&#34;book-hint warning&#34;&gt;&#xA;  &lt;strong&gt;Note:&lt;/strong&gt; This page is under development&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# setup a database&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;psql -h dbhost.local -U powerdns -d powerdns -a -f /usr/local/share/doc/powerdns/schema.pgsql.sql&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# SOA&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;insert into records &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;domain_id, name, content, type, ttl, prio&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; values &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;1,&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;blog.entwicklerseite.de&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;ns1.first-ns.de postmaster.robot.first-ns.de 2016062901 3000 3000 604800 300&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;SOA&amp;#39;&lt;/span&gt;, 3600, NULL&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# A&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;insert into records &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;domain_id, name, content, type, ttl, prio&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; values &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;1, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;www.blog.entwicklerseite.de&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;78.46.199.146&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;A&amp;#39;&lt;/span&gt;, 3600, NULL&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# MX&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;insert into records &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;domain_id, name, content, type, ttl, prio&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; values &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;1, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;blog.entwicklerseite.de&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;blog.entwicklerseite.de&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;MX&amp;#39;&lt;/span&gt;, 3600, NULL&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# NS&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;insert into records &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;domain_id, name, content, type, ttl, prio&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; values &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;1, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;example.com&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;127.0.0.1&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;NS&amp;#39;&lt;/span&gt;, 3600, NULL&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# enable axfr for all servers with an NS entry&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;insert into domainmetadata &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;domain_id, kind, content&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; values &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;1,&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;ALLOW-AXFR-FROM&amp;#39;&lt;/span&gt;,&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;AUTO-NS&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id=&#34;problems-and-solutions&#34;&gt;&#xA;  Problems and solutions&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#problems-and-solutions&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;unable-to-retrieve-soa-for-something&#34;&gt;&#xA;  Unable to retrieve SOA for some.thing&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#unable-to-retrieve-soa-for-something&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;This error can have many causes, but basically means, that your slave cannot&#xA;reach the master. You can easily get this error if you forgot to open UDP port&#xA;53, which is confusing if your &lt;code&gt;host -t axfr some.thing [dns.master.ip.address]&lt;/code&gt;&#xA;worked, because only TCP port 53 is open.&lt;/p&gt;</description>
    </item>
    <item>
      <title>ssh</title>
      <link>https://coderonline.de/configuration/server/ssh/</link>
      <pubDate>Wed, 25 May 2016 03:08:34 +0200</pubDate>
      <guid>https://coderonline.de/configuration/server/ssh/</guid>
      <description>&lt;h3 id=&#34;agent-admitted-failure-to-sign-using-the-key&#34;&gt;&#xA;  Agent admitted failure to sign using the key&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#agent-admitted-failure-to-sign-using-the-key&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;Auf dem Client&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;ssh-agent&lt;/code&gt; starten, falls der noch nicht läuft&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;ssh-add&lt;/code&gt; laufen lassen, um der laufenden Instanz von ssh-agent die&#xA;aktuellen keys hinzufügen&lt;/p&gt;&#xA;&lt;p&gt;Auf dem Server&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;systemctl start sshd&lt;/code&gt; startet den ssh-daemon&lt;/p&gt;&#xA;&lt;p&gt;einstellungen der firewall dahingehend überprüfen, ob der ssh-port&#xA;zugänglich ist (normalerweise 22)&lt;/p&gt;&#xA;&lt;h3 id=&#34;regenerate-diffie-hellman-group-exchange-key&#34;&gt;&#xA;  Regenerate Diffie-Hellman group exchange key&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#regenerate-diffie-hellman-group-exchange-key&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;This is to prevent &lt;a href=&#34;https://weakdh.org/&#34;&gt;LogJam&lt;/a&gt; attack from successful&#xA;happening.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;ssh-keygen -G moduli-2048.candidates -b 2048 &amp;amp;&amp;amp; ssh-keygen -T moduli-2048 -f moduli-2048.candidates&#xA;mv -i moduli-2048 /etc/ssh/moduli&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>postgresql server</title>
      <link>https://coderonline.de/configuration/server/postgresql-server/</link>
      <pubDate>Thu, 21 Jan 2016 01:31:54 +0100</pubDate>
      <guid>https://coderonline.de/configuration/server/postgresql-server/</guid>
      <description>&lt;p&gt;important binaries are: database management&lt;code&gt; createdb createuser&lt;/code&gt;&#xA;postgres cli interface &lt;code&gt;psql&lt;/code&gt; useful commands:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;du   # list users&#xA;list # list all databases&#xA;dt   # list all tables&#xA;dS+  # list schema and size (all tables)&#xA;&#xA;psql -h 10.0.0.10 -U powerdns -d powerdns -a -f schema.pgsql.sql&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2 id=&#34;permissions-to-connect-from-outside&#34;&gt;&#xA;  permissions to connect from outside&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#permissions-to-connect-from-outside&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;this must explicitly be allowed using a &lt;code&gt;pg_hba.conf&lt;/code&gt;, which is located&#xA;under &lt;code&gt;/usr/local/pgsql/data/pg_hba.conf&lt;/code&gt; or&#xA;&lt;code&gt;/etc/postgresql/9.3/main/&lt;/code&gt;. This file can be edited like that:&lt;/p&gt;</description>
    </item>
    <item>
      <title>rsync</title>
      <link>https://coderonline.de/configuration/server/rsync/</link>
      <pubDate>Tue, 15 Dec 2015 16:59:59 +0100</pubDate>
      <guid>https://coderonline.de/configuration/server/rsync/</guid>
      <description>&lt;p&gt;rsync can be used to copy and synchronize files in the local file system&#xA;or over different kind of connections. The program has several modes of&#xA;operation. It can be for example be used to communicate over a secure&#xA;shell (ssh) connection, but it can also be configured to act as a&#xA;server. In that case clients can ask for a list of shares the rsync&#xA;server provides and download them. The big advantage of using rsync&#xA;comes into play here: The daemon can run under a different user account&#xA;then the clients. This can be used to make backups.&lt;/p&gt;</description>
    </item>
    <item>
      <title>asterisk</title>
      <link>https://coderonline.de/configuration/server/asterisk/</link>
      <pubDate>Sat, 31 Jan 2015 21:31:06 +0100</pubDate>
      <guid>https://coderonline.de/configuration/server/asterisk/</guid>
      <description>&lt;p&gt;This command converts all files from a folder into an asterisk compatible format&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34; title=&#34;/bin/bash&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# either with sox&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;find -name &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;*.wav&amp;#39;&lt;/span&gt; -exec basename &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;{}&amp;#34;&lt;/span&gt; .wav ; |&lt;span style=&#34;color:#ae81ff&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         xargs -iQ sox &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Q&amp;#34;&lt;/span&gt;.wav -t raw -b &lt;span style=&#34;color:#ae81ff&#34;&gt;16&lt;/span&gt; -r &lt;span style=&#34;color:#ae81ff&#34;&gt;32000&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Q&amp;#34;&lt;/span&gt;.sln32&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# or with ffmpeg&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;find -name &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;*.wav&amp;#39;&lt;/span&gt; -exec bash -c &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;FILE=&amp;#34;{}&amp;#34; &amp;amp;&amp;amp;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;         echo $FILE &amp;#34;=&amp;gt;&amp;#34; ${FILE/wav/alaw}   &amp;amp;&amp;amp;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;         ffmpeg -i &amp;#34;$FILE&amp;#34; -ar 8000 -ac 1 -ab 64k -f alaw ${FILE/wav/alaw} &amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;\;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;folders&#34;&gt;&#xA;  Folders&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#folders&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;folder&lt;/th&gt;&#xA;          &lt;th&gt;description&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;/var/spool/asterisk/voicemail/default&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;where voicemail stores files&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;/usr/local/etc/asterisk/&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;main configuration files&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;</description>
    </item>
    <item>
      <title>netboot</title>
      <link>https://coderonline.de/configuration/server/netboot/</link>
      <pubDate>Thu, 01 May 2014 04:38:04 +0200</pubDate>
      <guid>https://coderonline.de/configuration/server/netboot/</guid>
      <description>&lt;p&gt;Setting up a netboot server is surprisingly easy, but I could not find&#xA;comprehensive guides. What you really need:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;DHCP Server&lt;/strong&gt;, from which your client receives an IP-Address and&#xA;the Address to a tftp server&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;TFTP Server&lt;/strong&gt;, where a bootloader and one or more images are&#xA;located&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;tftp-server&#34;&gt;&#xA;  TFTP Server&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#tftp-server&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;First install a tftp server package with support for xinet (usually included in&#xA;plain xinet)&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;xinetd&lt;/code&gt; is a daemon, which listens on specified ports and pipes the&#xA;traffic to a program one can specify in config. In this case we want&#xA;a tftp config file, where you can also specify a root path for your&#xA;tftp server:&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>https://coderonline.de/configuration/server/wayland/wayland/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://coderonline.de/configuration/server/wayland/wayland/</guid>
      <description>&lt;h1 id=&#34;desktop-streaming-eg-via-bbb-or-jitsi&#34;&gt;&#xA;  Desktop streaming (e.g. via bbb or jitsi)&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#desktop-streaming-eg-via-bbb-or-jitsi&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;p&gt;pulseaudio did not work for me and had to be replaced with pipewire, because&#xA;it brings these systemd user services to enable desktop streaming:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  pipewire-media-session.service&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  pipewire-pulse.service&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  pipewire.service&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id=&#34;graphical-java-applications&#34;&gt;&#xA;  Graphical Java applications&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#graphical-java-applications&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;do-not-start-and-say-error-cant-connect-to-x11-window-server-using-wayland-1&#34;&gt;&#xA;  Do not start and say: &lt;code&gt;Error Can&#39;t connect to X11 window server using &#39;wayland-1&#39;&lt;/code&gt;&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#do-not-start-and-say-error-cant-connect-to-x11-window-server-using-wayland-1&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Run it under Xwayland, e.g. with &lt;code&gt;env DISPLAY=:0 java program.java&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Matrix</title>
      <link>https://coderonline.de/configuration/server/matrix/comparison/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://coderonline.de/configuration/server/matrix/comparison/</guid>
      <description>&lt;h1 id=&#34;synapse&#34;&gt;&#xA;  synapse&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#synapse&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&amp;lsquo;reference&amp;rsquo; implementation in python&lt;/li&gt;&#xA;&lt;li&gt;Can be slow at times.&lt;/li&gt;&#xA;&lt;li&gt;Creates a huge on disk cache for images.&lt;/li&gt;&#xA;&lt;li&gt;has a very long configuration file.&lt;/li&gt;&#xA;&lt;li&gt;requires to have a valid TLS certificate in the config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1 id=&#34;dendrite&#34;&gt;&#xA;  dendrite&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#dendrite&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;does not always provide meaningful error messages, e.g. when files are&#xA;inaccessible due to permission issues.&lt;/li&gt;&#xA;&lt;li&gt;does not yet have a lot of documentation&lt;/li&gt;&#xA;&lt;li&gt;seems to maintain its cache status in the database. Clearing the cache in the&#xA;file system is not enough.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1 id=&#34;conduit&#34;&gt;&#xA;  conduit&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#conduit&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;works really good.&lt;/li&gt;&#xA;&lt;li&gt;adds a lightning to user names by default (can be deactivated in the config)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1 id=&#34;conduwuit&#34;&gt;&#xA;  conduwuit&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#conduwuit&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;fork of conduit&lt;/li&gt;&#xA;&lt;li&gt;works as drop in replacement&lt;/li&gt;&#xA;&lt;li&gt;not yet available as binary package on FreeBSD :(&lt;/li&gt;&#xA;&lt;li&gt;development seems to move faster.&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>OpenLDAP</title>
      <link>https://coderonline.de/configuration/server/openldap/openldap/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://coderonline.de/configuration/server/openldap/openldap/</guid>
      <description>&lt;p&gt;mkdir /usr/local/etc/openldap/slapd.d/&#xA;cp -v /usr/local/etc/openldap/slapd.ldif.sample /usr/local/etc/openldap/slapd.d/slapd.ldif&lt;/p&gt;&#xA;&lt;h1 id=&#34;now-edit-the-file-slapdldif-and-at-least-change&#34;&gt;&#xA;  now edit the file slapd.ldif and at least change:&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#now-edit-the-file-slapdldif-and-at-least-change&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-gdscript3&#34; data-lang=&#34;gdscript3&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;12&lt;/span&gt;,&lt;span style=&#34;color:#ae81ff&#34;&gt;13&lt;/span&gt;c12,&lt;span style=&#34;color:#ae81ff&#34;&gt;13&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt; olcArgsFile: &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;db&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;run&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;slapd&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;args&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt; olcPidFile: &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;db&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;run&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;slapd&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;pid&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;---&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt; olcArgsFile: &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;run&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;openldap&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;slapd&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;args&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt; olcPidFile: &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;run&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;openldap&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;slapd&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;pid&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;because that is where FreeBSD expects openldap to put these files.&lt;/p&gt;&#xA;&lt;h1 id=&#34;wip&#34;&gt;&#xA;  WIP&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#wip&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;p&gt;This does not work yet&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# create the configuration database out of the ldif file:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;slapadd -n0 -F /usr/local/etc/openldap/slapd.d/ -l /usr/local/etc/openldap/slapd.d/slapd.ldif&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# start slapd with debug option to see error messages (CTRL-c if it works)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;/usr/local/libexec/slapd -d1 -F /usr/local/etc/openldap/slapd.d/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# /etc/rc.conf.local&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;slapd_enable=&amp;#34;YES&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# the following line makes slapd use slapd.d folder instead of slapd.conf&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;slapd_cn_config=&amp;#34;YES&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id=&#34;this-worked&#34;&gt;&#xA;  This worked&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#this-worked&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;p&gt;Edit &lt;code&gt;/usr/local/etc/slapd.conf&lt;/code&gt;, add further schema and enable the correct&#xA;backend:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
