Guides relating to Synology and the DSM OS
Add LDAP Login to PHP Webpage
- Written by: Andrew Wellington
- Category: Synology
- Hits: 985
So you have an LDAP server and you'd like to add authentication to a PHP based website. Well you have came to the right place! I started hosting my own mail server (Don't ask) and used LDAP for authentication so it made sense to create a website with LDAP and webmail/roundcube as well. I will go over step by step instructions on how to get this set up including code snippets. You will need to modify the code to fit your environment but my guide should get you most of the way there!
Using Cloudflare for Synology DDNS and SSL
- Written by: Andrew Wellington
- Category: Synology
- Hits: 2246
Cloudflare is not on the list of built in DDNS providers in Synology DSM 7. Don't fret though, you can add it manually by following this guide and using a script that is linked within. This allows your DNS record at Cloudflare to dynamically update with your IP address. For Certificates, we will use the great acme.sh (https://github.com/acmesh-official/acme.sh/wiki/Synology-NAS-Guide), script for SSL and certificate creation and renewals.
Read on for a full guide to configure DDNS and SSL on Synology DSM
Configure Joomla to Present Client Certificate when Sending Email
- Written by: Andrew Wellington
- Category: Synology
- Hits: 503
So you'd like to configure Joomla CMS to use a SMTP relay to send email. Unfortunately, presenting a client certificate is not a standard option and Joomla only allows authentication via SMTP Auth. You could allow access by your public IP but many have dynamic IPs and where is the fun in that? I did some research, but I could not find any good documentation on how to do it. After some trial and error, I was successful by editing the built-in PHP Mailer plugin. It was a fairly simple process and I will share the steps I took in this guide. You will need to have full root access to the Joomla host server.