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

When running the command:

slaptest -f slapd.conf

Against my slapd config file I'm getting this error message

51dfbb3e lt_dlopenext failed: (back_@BACKEND@) file not found
slaptest: bad configuration file!

It seems to me the slaptest is missing something when running the test. Any ideas?

share|improve this question

This is not a 100% answer, but still: I am quite sure that slapd itself never parses any kind of variables in its config – especially not the database backend; it would make most sense to put it directly in the config, since it's not something you can change every day.

The variables are probably intended to be replaced by some other tool that takes such configuration templates – maybe Debian's debconf (I don't know if it uses a similar syntax), maybe a custom shellscript full of sed s/@BACKEND@/hdb/g... Without knowing where you got the config file from, it's hard to tell.

share|improve this answer
I'm running into the same problem. The config file with the @BACKEND@ variable comes from the default installation (apt-get install slapd) – Gottlieb Notschnabel Jun 29 '15 at 8:50

You must log in to answer this question.

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