Authenticate Postgresql client agains backend ldap
We have a Postgresql server open to many different people at our organization. In order to add a ldap authentication you can add these 3 lines to your current pg_hba.conf file: host all username 127.0.0.1/32 ldap ldapserver=”ourserver.uib.no” ldapbasedn=”ou=people,dc=uib,dc=no” host all username 129.177.XXX.YYY/32 ldap ldapserver=”ourserver.uib.no” ldapbasedn=”ou=people,dc=uib,dc=no” local all username ldap ldapserver=”ourserver.uib.no” ldapbasedn=”ou=people,dc=uib,dc=no”
Email list in From header
Today I learned never to use an email list containg many email addresses in a From header when sending an email, unless absolutely necessary. You can guess why.
Using Kdenlive for making videos
Number of pages in a Mediawiki site
Piwik statistics
Rewriterule HTTP_HOST in Apache
We had to rewrite some specific domain names in our WordPress multisite. Most of our domains are on this form: something.w.uib.no In our case that is nice, because we also have a valid ssl certificate which supports *.w.uib.no. But in addition we have other domain names on the form: something.uib.no which we don’t have a