Server Fault is a question and answer site for system and network administrators. 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've install openLDAP from the Ubuntu repository.

How do I know if it includes the "back-sql" option?

share|improve this question
up vote 2 down vote accepted

If you've installed the package, check if you have the file /usr/lib/ldap/ - a simple stat /usr/lib/ldap/ at the command line should show you this.

If you haven't installed the package, have a look at the listings for the slapd package: e.g. the files in the i386 slapd package for Jaunty.

share|improve this answer
Thanks! The file "" exists. Does that mean that MySQL support is there for sure? – Nick Aug 13 '09 at 6:57
Yes, if "" exists, MySQL support is there. – Insyte Aug 13 '09 at 10:15
Looks like that didn't work after all. I added a sql database to slapd.conf and I get the error "Unrecognized database type (sql)". – Nick Aug 14 '09 at 5:48
Did you add moduleload back_sql to your configuration? – Zanchey Aug 15 '09 at 5:40

One crude method is to run ldd on the binary slapd and check if it is calling any sql libraries.

share|improve this answer
Actually, this won't work as all of the SQL functionality is contained the in the file mentioned above. – Insyte Aug 13 '09 at 10:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.