Install HUBzero LDAP support

sudo apt-get install -y hubzero-openldap 
sudo service slapd start

You will be prompted to enter a LDAP administrative password.

Some packages will ask you to configure them when you run this step

Configuring nslcd: LDAP server URI:

Enter "ldap://localhost/"

Configuring nslcd: LDAP server search base:

keep the default

Configuring libnss-ldapd

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

Configure OpenLDAP Database

sudo hzldap init dc=example,dc=com
sudo hzcms configure ldap --enable
sudo hzldap syncusers


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

Last modified: