Renew the Let’s Encrypt certificate for Synology using SSH

When for some reasons, the Let’s Encrypt certificate has not be renewed on your Synology and those bloody stupid Web browsers won’t let you connect to the DSM for “Security Reasons”, you can still count on SSH to solve the problem. Simply run:

# /usr/syno/sbin/syno-letsencrypt renew-all

Where there’s shell, there’s a way.

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”