Documentation

OpenLDAP

Install HUBzero LDAP support

# DEBIAN_FRONTEND=noninteractive apt-get install -y hubzero-openldap 

You will be prompted to enter a LDAP administrative password.

Some packages will ask you to configure them when you run this step, especially if you don't include setting the DEBIAN_FRONTEND environment variable to 'noninteractive'. You can just accept the defaults because we rewrite the configuration files during the next step anyway.

Configuring nslcd: LDAP server URI:

keep the default or enter "ldap://localhost/"

Configuring nslcd: LDAP server search base:

keep the default

Configuring libnss-ldapd

Select only "group", "passwd", "shadow"

Configure OpenLDAP Database

# hzldap init
# hzcms configure ldap --enable
# hzldap syncusers

Test

# getent passwd
You should see an entry for user 'admin' toward the end of the list if everything is working correctly.

Last modified:

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®