Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Configuring LDAP

JWGmeligMeyling edited this page Dec 20, 2014 · 2 revisions

Devhub uses LDAP for user authentication. The LDAP properties are stored in the config.properties file in the resources folder. The following properties should be set:

  • LDAP hostname or address
  • Whether or not to use a secured connection
  • The LDAP port, usually 389 for unsecured and 636 for LDAPS.
  • The tree containing the users (cn=Users,dc=example,dc=local)
  • The domain extension (@example.local)

Here at the TU delft we use these settings:

ldap-server.host = ldaps.tudelft.nl
ldap-server.port = 636
ldap-server.usessl = true
ldap.extension = @tudelft.net
# Here the tree containing the users is an Organizational unit (OU) called MDS
ldap.primarydomain = OU=MDS,DC=tudelft,DC=net

Does this also work in Active Directory environments?

Yes, we have it running in production using Active Directory as LDAP backend.

I want to set up an LDAP server quickly

You can quickly set up an LDAP server using Docker or Vagrant.

I want to learn more about LDAP

When you want to learn more about LDAP, have a look at the wiki page.

Important notes

  • Currently it is required for a user to be logged in once before another user can add him to a group

Clone this wiki locally