freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "James K. Lowden" <jklowden AT schemamania.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Sybase ASA 7, unixODBC problem
- Date: Sat, 6 Nov 2004 18:58:15 -0500
lsunley AT mb.sympatico.ca wrote:
> >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.
> Is the servername supposed to be the resolved host name of the server?
No. The "servername" in this case is a field passed to the server in the
login packet. It's the dataserver name, the [servername] in the
freetds.conf file, the name the client application uses to open a
connection.
Most servers ignore it, afaik. ASA requires it, because it uses it as the
name of the database to "start".
The ct-lib and db-lib libraries fill the field correctly; the ODBC driver
stuffs in 'SYBASE' instead. That be the problem.
Hope that's clear. :-)
--jkl
-
RE: [freetds] Sybase ASA 7, unixODBC problem
, (continued)
-
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
- RE: [freetds] Sybase ASA 7, unixODBC problem, Gene Dymarskiy, 11/06/2004
- RE: [freetds] Sybase ASA 7, unixODBC problem, Gene Dymarskiy, 11/07/2004
-
RE: [freetds] Sybase ASA 7, unixODBC problem,
Lowden, James K, 11/03/2004
Archive powered by MHonArc 2.6.24.