Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

LDAP configuration


AS As of the Grid release, tDAR is capable of authenticating via LDAP. This could be as
complex as an Institutional ActiveDirectory system or as simple as a small
standalone install of openLDAP on the local system. openLDAP is fairly simple to
set up and configure, provided you know where all the required configurable params
are located. As such, in the files below, important sections will be highlighted for
your convenience.

...

Using your favorite package manager, install the packages openldap, openldap-clients,
openldap-servers, openldap-devel and compat-openldap. Alternatively, they (and
their source) can be obtained at http://www.openldap.org/software/download/

After they are installed, you'll need to alter the configuration before starting slapd.
This can be quite complex. On RHEL, the config is stored in /etc/openldap/, in the
files ldap.conf, slapd.conf and in the slap.d/ directory structure.

Both ldap.conf and slapd.conf come pre-filled with most of the settings required.
You will still need to define a BASE DN and configure a Manager account.

Ensure you make all instances of the example BASE DN ('dc=example,dc=com') are
changed to the correct BASE DN for your institution, or to whatever custom DN you'd
like to use. It is also important to set the root password something more secure than
the default ('secret').

...