freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Gene Dymarskiy" <gagarin AT i-dep.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Sybase ASA 7, unixODBC problem
- Date: Sat, 6 Nov 2004 17:29:05 -0600
I absolutely have to figure it out. I have to be able to connect to ASA
from PHP on Linux platform. What can I do to help? Should I mobilize
unixodbc people? Can I use anything other than unixodbc to connect?
Looks like php sybase works with ASE, not ASA. Are there any other
freetds ASA ODBC drivers I can use? (forgive me for breach of loyalty)
Thank you for all the help
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of James K. Lowden
Sent: Saturday, November 06, 2004 4:48 PM
To: FreeTDS Development Group
Subject: Re: [freetds] Sybase ASA 7, unixODBC problem
"Gene Dymarskiy" <gagarin AT i-dep.com> wrote:
>
> It would not build with the patch. I get the following error:
>
> odbc.c: In function `odbc_connect':
> odbc.c:293: error: structure has no member named `tds_login'
I'm sorry, Gene. I see the problem, two problems, actually. One is
that
odbc_connect() doesn't have access (afaict) to a TDSLOGIN structure.
Two is that the ODBC driver doesn't get the configuration information
the same way that db-lib and ct-lib do, by calling
tds_read_config_info(). I guess it re-implements that logic somewhere,
but having just spent 30 minutes looking for it, I give up. It's just
too painful.
The issue, we know: the ODBC driver does not set the servername field of
the login packet before connecting. It should call tds_set_server()
when it discovers the servername, although it's not clear what "server
name"
means when freetds.conf isn't used.
Perhaps someone more familiar with and more enthusiastic about the code
can figure out where that call should be made. Until then, it won't
connect to ASA servers. :-(
Regards,
--jkl
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
......CONFIDENTIALITY NOTICE......
The information in this email may be confidential and/or privileged. This
email is intended to be reviewed by only the individual or organization named
above. If you are not the intended recipient or an authorized representative
of the intended recipient, you are hereby notified that any review,
dissemination or copying of this email and its attachments, if any, or the
information contained herein is prohibited. If you have received this email
in error, please immediately notify the sender by return email and delete
this email from your system. Thank You.
-
[freetds] Sybase ASA 7, unixODBC problem,
Gene Dymarskiy, 11/02/2004
- <Possible follow-up(s)>
- [freetds] Sybase ASA 7, unixODBC problem, Gene Dymarskiy, 11/02/2004
-
RE: [freetds] Sybase ASA 7, unixODBC problem,
Lowden, James K, 11/03/2004
- Re: [freetds] Sybase ASA 7, unixODBC problem, jdyke, 11/03/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, Gene Dymarskiy, 11/03/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, Lowden, James K, 11/03/2004
-
RE: [freetds] Sybase ASA 7, unixODBC problem,
Gene Dymarskiy, 11/03/2004
- Re: [freetds] Sybase ASA 7, unixODBC problem, James K. Lowden, 11/03/2004
-
RE: [freetds] Sybase ASA 7, unixODBC problem,
Gene Dymarskiy, 11/05/2004
- Re: [freetds] Sybase ASA 7, unixODBC problem, James K. Lowden, 11/06/2004
-
RE: [freetds] Sybase ASA 7, unixODBC problem,
Gene Dymarskiy, 11/06/2004
-
RE: [freetds] Sybase ASA 7, unixODBC problem,
lsunley, 11/06/2004
-
Re: [freetds] Sybase ASA 7, unixODBC problem,
James K. Lowden, 11/06/2004
-
Re: [freetds] Sybase ASA 7, unixODBC problem,
lsunley, 11/06/2004
-
Re: [freetds] Sybase ASA 7, unixODBC problem,
lsunley, 11/06/2004
-
Re: [freetds] Sybase ASA 7, unixODBC problem,
lsunley, 11/06/2004
- Re: [freetds] Sybase ASA 7, unixODBC problem, lsunley, 11/06/2004
-
Re: [freetds] Sybase ASA 7, unixODBC problem,
lsunley, 11/06/2004
-
Re: [freetds] Sybase ASA 7, unixODBC problem,
lsunley, 11/06/2004
-
Re: [freetds] Sybase ASA 7, unixODBC problem,
lsunley, 11/06/2004
-
Re: [freetds] Sybase ASA 7, unixODBC problem,
James K. Lowden, 11/06/2004
- Re: [freetds] Sybase ASA 7, unixODBC problem, James K. Lowden, 11/06/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, Michael Peppler, 11/07/2004
-
RE: [freetds] Sybase ASA 7, unixODBC problem,
lsunley, 11/06/2004
-
RE: [freetds] Sybase ASA 7, unixODBC problem,
Gene Dymarskiy, 11/06/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, lsunley, 11/06/2004
Archive powered by MHonArc 2.6.24.