Tutorial pGina integration with Synology LDAP

Hi

Today I would like to show you how to log in to windows using pGina with a Synology LDAP server (openldap)

Also I configured the "groups" membership to automatically give to my users the Administrator role when they belong to a certain group like admin

1- Download pGina http://pgina.org/

2- Activate LDAP Plugin : Authentication & Gateway

enter image description here

3- Then configure pGina in order to retrieve Users & Groups from your Synology LDAP Server

enter image description here

  • Search DN : uid=root,cn=users,dc=yourdomain,dc=local
  • Search password : Synology ldap root password
  • Group DN pattern : uid=%u,cn=users,dc=yourdomain,dc=local
  • User DN Pattern : uid=%u,cn=users,dc=yourdomain,dc=local
  • Member Attribute : member

4 - Go to Gateway TAB

And map the group

If member of LDAP group "admins" (ldap group name) add to local group "Administrators" for instance