Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to configure the default directory tree on a clean OpenLDAP install on Ubuntu (apt-get install slapd).

I found /usr/share/slapd/slapd.conf and was going to change the suffix setting, and noticed that there is some kind of token substitution going on - @SUFFIX@ and @BACKEND@.

How do these tokens get substituted - and where are the values provided?

share|improve this question
up vote 0 down vote accepted

slapd.conf is not being used in this case. Instead, the config (OLC) backend is being used under cn=config.

The easiest way to change the default DIT root was to re-run the configuration:

sudo dpkg-reconfigure slapd

Then answer the "domain" question differently. After clearing out the old LDAP contents and restarting slapd, I got the change from dc=nodomain to dc=whatever.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .