1

I've install openLDAP from the Ubuntu repository.

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

2 Answers 2

2

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

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

4
  • Thanks! The file "back_sql.so" exists. Does that mean that MySQL support is there for sure?
    – Nick
    Aug 13, 2009 at 6:57
  • Yes, if "back_sql.so" exists, MySQL support is there.
    – Insyte
    Aug 13, 2009 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, 2009 at 5:48
  • 1
    Did you add moduleload back_sql to your configuration?
    – Zanchey
    Aug 15, 2009 at 5:40
0

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

1
  • 1
    Actually, this won't work as all of the SQL functionality is contained the in the back_sql.so file mentioned above.
    – Insyte
    Aug 13, 2009 at 10:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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