DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th October 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Thanked 1 Time in 1 Post
Default 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...
Reply With Quote
  #2   (View Single Post)  
Old 4th November 2008
earthlue earthlue is offline
New User
 
Join Date: Nov 2008
Posts: 1
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 04:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick