[freetds] Openldap segfaults in freetds code.

Hindrik Buining hindrik at unsw.edu.au
Thu May 22 03:56:24 EDT 2003


Hi Freddy77,

Running the latest version from cvs (0.62 dev) worked great.
I stil got the errors running on the 0.61 branch though.

Your rapid response was fantastic.
Many thanks for your help.

Regards,
- Hindrik

-------------------------------------------------
Hindrik Buining
Network Services Engineer
Communications Unit
University of New South Wales
+61-2-9385-1144(w)
+61-2-9385-1112(f)
-------------------------------------------------


----- Original Message ----- 
From: "Frediano Ziglio" <freddyz77 at tin.it>
To: "FreeTDS Development Group" <freetds at lists.ibiblio.org>
Sent: Tuesday, May 20, 2003 8:57 PM
Subject: Re: [freetds] Openldap segfaults in freetds code.


> Il mar, 2003-05-20 alle 09:19, Hindrik Buining ha scritto:
> > Hi all,
> >
> > I am trying to run openldap with a sybase v12.5 backend.
> > The software I am running is openldap-2.1.19, unixODBC-2.2.5,
freetds-0.61
> > on SunOS myhost 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-4
> >
> >
> > When starting up openldap segfaults.
> > Running the server under gdb shows that segfault occurs inside the
freetds
> > code.
> > I am using the sample table schema and data provided with openldap.
> > If I change my odbc connection (in odbc.ini) to a postgresql db instead
of
> > Sybase db (with identical tables and data) then the system works.
> >
> > This would seem to me to suggest that the problem is somewhere in the
> > freetds/unixodbc world rather than a problem with openldap.
> > However I can run isql compiled against unixodbc and using freetds.
> > This gives me no problems.
> > I can even run the same queries through isql that openldap passes to the
sql
> > server
> > (I logged the queries passed to postgresql by openldap and then ran them
> > under isql on my sybase db).
> >
> > I don't know what to try next?
> > I suspect the problem is somewhere in freetds because that is where the
ldap
> > daemon seg faults.
> > Has anyone had similar problems?
> > Can anyone please help me?
> >
> > I have included relevant config files below.
> >
> > - Hindrik
> >
> >
>
> Hi Hindrik.
> Thanks for your report. It's fixed on CVS (both 0.61 and developing).
>
> Changed files are include/tdsodbc.h and src/odbc/odbc.c (you can get
> updated files from cvs, also in http://sf.net/projects/freetds, browse
> cvs if you haven't CVS access, use BRANCH0_61 to update 0.61 version)
>
> freddy77
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>




More information about the FreeTDS mailing list