I've install openLDAP from the Ubuntu repository.

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

link|improve this question

72% accept rate
feedback

2 Answers

up vote 1 down vote accepted

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.

link|improve this answer
Thanks! The file "back_sql.so" exists. Does that mean that MySQL support is there for sure? – Nick Aug 13 '09 at 6:57
Yes, if "back_sql.so" 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
1  
Did you add moduleload back_sql to your configuration? – Zanchey Aug 15 '09 at 5:40
feedback

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

link|improve this answer
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 '09 at 10:17
feedback

Your Answer

 
or
required, but never shown

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