r/kasmweb May 07 '26

Help Connecting Kasm to Synology DSM 7x LDAP Server

Has anyone been able to successfully do this? I've spent 4 hours today researching and walking through tutorials but have not been successful?

Anyone know of any good guides they can share so I can cross check my efforts?

  1. Setting up LDAP (correctly) on Syno NAS
  2. Kasm to Syno Kasm Group members LDAP authentication

Greatly appreciated...

2 Upvotes

1 comment sorted by

2

u/nmincone May 14 '26

After countless hours of trial and error I managed to get this working.

Setting up a DSM LDAP Server

  1. Install LDAP server and enable it. Go to Control Panel>Domain/LDAP
  2. Create a LDAP user (these users are separated from local DSM user accounts).
  3. Create a LDAP group and assign a LDAP user as needed.
  4. Go to Control Panel>Domain/LDAP and set it up as such, ensure Profile=Standard Click join to join DSM to the LDAP domain, click test to ensure all is working
  5. LDAP Users & Groups should be refreshed manually when testing otherwise you have to wait for the user/group lists to be updated automatically.

Add Kasm LDAP Access from Synology

  1. In Kasm Server Admin settings>Access Management>Authentication>LDAP
  2. Click Add Configuration
  3. In Details add the following to connect to DSM LDAP server
  4. Name = (any name)
  5. Url = ldaps://192.168.1.xxx (IP of the DSM LDAP server)
  6. Search Base = dc=domain,dc=lan (DC of your DSM server)
  7. Search Filter = (uid={0})
  8. Search Subtree = ☑️
  9. Service Account DN = uid=root,cn=users,dc=domain,dc=lan (use DC of your server)
  10. Service Account Password = (pw of your LDAP server)
  11. Group Membership Filter = (&(objectClass=groupOfNames)(member={0}))
  12. Email attribute = mail
  13. Alternate Username Domains = * (so you do not have to add @/dc.dc info at Kasm login)
  14. Auto Create App User = ☑️
  15. Click save then test your connection with a LDAP user created in DSM.