|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
OpenLDAP and MySQL
I'm getting nuts with this OpenLDAP issue here...
I am trying to configure OpenLDAP to use the sql-backend, without any success! I tried to compile the ports-version, enabled sql in make config, but when running slaptest -u it complained about "unknown database <sql>". So went to compile the original source-code from www.openldap.org. The configure script fails with: configure: error: BerkeleyDB version incompatible with BDB/HDB backends I googled around and found a load of messages like "read the faq!" or "this question has been answered around a thousand times". Well, I could not find anything, neither in the README nor in the website FAQ, whereever. I tried, as I've read something about Berkeley issues to use the 4.2 version, which compiled fine, but no change... I'd be real happy if someone, who has a running OpenLDAP/MySQL combo on FBSD 7.0, to point me in the direction, what I am doing wrong... |
|
|||
I also encountered same problem, and every time I perform a iodbctest, I encountered kernel segment error and it crashes my iodbctest.
Setup: Freebsd 7.0 OpenLdap 24 ( /usr/ports/net/openldap24-server ) - WITH ODBC - BDB - TCP_WRAPPER - DYNAMIC BACKEND - configured odbc.ini and odbcinst.ini (/usr/local/lib/libiodbc) odbc.ini [ODBC Data Sources] mysql = mysql ODBC Driver [mysql] Driver = /usr/local/lib/libiodbc.so Database=mysql dbname=mysql Servername=localhost PORT = 3306 UserName=root Socket = /tmp/mysql.sock Trace = On Tracefile = /tmp/offen.log [ODBC] Trace=ON TraceFile=/tmp/odbctrace.out InstallDir=/usr/local/lib [Default] Driver = /usr/local/lib/libiodbc.so ODBCINST.INI Drivers] MySQL = Installed [MySQL] Description=ODBC for MySQL Driver=/usr/local/lib/libiodbcinst.so [ODBC] Trace=1 Debug=1 Pooling=No |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MySql on NetBSD 5.0 | Zvrk | NetBSD General | 6 | 17th August 2009 12:31 PM |
MYSQL 's fault? | disappearedng | FreeBSD General | 3 | 14th October 2008 11:53 PM |
MYSQL HOW TO START | disappearedng | FreeBSD General | 7 | 18th September 2008 09:48 AM |
openldap for authentication | rajendra_nagi | FreeBSD General | 9 | 17th July 2008 06:43 PM |
mysql using >100% cpu | bdj | FreeBSD General | 5 | 16th May 2008 04:20 PM |