Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've install openLDAP from the Ubuntu repository.

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

share|improve this question

2 Answers 2

up vote 2 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.

share|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

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

share|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

Your Answer

 
discard

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.