Setting Synology DSM permissions using the console

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.

Continue reading “Setting Synology DSM permissions using the console”

LDAP replication and CRYPT userPassword

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.

Continue reading “LDAP replication and CRYPT userPassword”

LDAP replication between Synology DSM and OpenBSD

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.

Continue reading “LDAP replication between Synology DSM and OpenBSD”

SMS alerts to Free Mobile using Synology

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”.

Continue reading “SMS alerts to Free Mobile using Synology”

Synology DSM monitoring with Monit

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.

Continue reading “Synology DSM monitoring with Monit”