I have a LDAP instance running the OpenBSD’s ldapd. I installed the
openldap-client package so that I get
ldapsearch, but there doesn’t seem to be any
slapcat-like tool ; which may be used to backup the LDAP content in LDIF format.
Here’s a trick to dump the
ldapd content using
# ldapsearch -x -H ldaps://ldap.tumfatig.net -D "cn=admin,dc=tumfatig,dc=net" -W -b "dc=tumfatig,dc=net" -LLL > ldapd-"`date +%Y%m%d`".ldif
This generates a file in LDIF format which can be used by
ldapadd to fill another LDAP instance.
Like I did with NetBSD, this is how to build an almost complete Mail Server with OpenBSD.
We’re gonna use a Dovecot IMAP server and a Postfix SMTP server. Postfix will use Dovecot as a SASL service. Both will use LDAP to identify valid users and e-mail aliases. Mail sanitization will be provided by RBL, from Postfix, and by the
spamd shipped with OpenBSD.
Continue reading “Back to the sea ; the mail server (SMTP, IMAP, GreyList, RBL…), episode X”
I use VPN to remotely connect to my home-LAN when I’m away.
I’ve tried may kinds of VPN ; from IPsec (point-to-point) to SSL through L2TP. I found that the easiest one to implement, when using various OS client, was VPN/SSL. And the easiest software to be used by any OS, or at least any I use, was OpenVPN. From Windows to OSX through NetBSD, there’s an available binary.
So let’s create the server on OpenBSD.
Continue reading “Back to the sea ; the virtual private network (VPN), episode IX”
Logs are for program what speech is to human.
People says what’s wrong (most of the time ;), program log it.
Here’s how I use syslog-ng to get a central syslog system.
Continue reading “Back to the sea ; the logging program (Syslog), episode VIII”
After creating and editing my Website from scratch with Vim, I used Dokuwiki for quite a long time. Then came the Facebook time. This is when I switched to some more hypee tool. I choosed WordPress.
One nice thing WordPress provides, except from full HTTP management, is automatic configuration and updates.
Here’s how I installed it on OpenBSD.
Continue reading “Back to the sea ; the Blog Tool and Publishing Platform (WordPress), episode VII”