After migrating my users from local DSM base to Directory Server, I ended with shares full of inconsistent permissions and ownership. Rather than clicking 10 000 times in DSM, I decided to do the stuff via SSH using syno console tools.
I have just discovered some issues with my previous article on OpenLDAP replication between Synology DSM and OpenBSD OpenLDAP.
In the end, it is not possible to log-in on the OpenBSD LDAP instance using the original userPassword. Short story: CRYPT seem to not be various-platform-compatible.
I want my OpenBSD 6.4 services to authenticate users from a remote LDAP server ; namely a Synology Directory Server (DSM 6.2.x). It turns out that this a standard OpenLDAP 2.4.x configured to accept replication refreshAndPersist mode. So let’s configure a Master / Slave Replication system between Synology and OpenBSD.
Synology DSM can be configured to send notifications on various events. It can use Email, SMS and Push Service. I usually use email notifications to check for status. But here’s how I configured SMS notification for critical events using the French mobile operator “Free Mobile”.
Monit is small, monit is fast, monit is installed on each of my servers. Unfortunately, I couldn’t found a package for Synology DSM 6. Hopefully, DSM is based on Linux and Monit provides binaries. So let’s install, run and monitor DSM using Monit.