[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: back-sql question: iodbc or unixodbc



Hi P.,

Do you recall the odbc version of the driver manager and the drivers?

Thanks,
\Tommy

On Tue, 2008-04-08 at 20:36 +0200, Pierangelo Masarati wrote:
> Tommy Ho wrote:
> > Hi,
> > 
> > I'm trying to get openLDAP 2.4.8 to work with postgreSQL 8.1.8.
> > Does it matter which odbc driver manager I use?
> > 
> > In http://www.openldap.org/faq/data/cache/978.html, under "How To Use
> > It", it specifies to setup unixODBC
> > 
> > while in http://www.samse.fr/GPL/ldap_pg/HOWTO/index.html, it says to
> > use iodbc.
> > 
> > I actually installed iodbc 3.52.6 and psqlodbc 8.03.0100 but am getting
> > into a pthread mutex lock when backsql_load_schema_map() is trying to
> > send the query "SELECT id, name, keytbl, keycol, create_proc,
> > delete_proc, expect_return FROM ldap_oc_mappings" to postgres. From
> > attaching gdb, the lock is happening SQLAllocStmt where is it is
> > recursively being called from SQLAllocStmt_internal().
> > 
> > If others have found success getting openLDAP working with postgres,
> > could you please share your expertise?
> > 
> > Let me know if I can provide additional data, like the configure options
> > and other setup/version info.
> 
> Not recently, but I could get it working with both, without using any 
> special version or compile option.
> 
> p.
> 
> 
> 
> Ing. Pierangelo Masarati
> OpenLDAP Core Team
> 
> SysNet s.r.l.
> via Dossi, 8 - 27100 Pavia - ITALIA
> http://www.sys-net.it
> ---------------------------------------
> Office:  +39 02 23998309
> Mobile:  +39 333 4963172
> Email:   pierangelo.masarati@sys-net.it
> ---------------------------------------
> 
>