Skip to Content.
Sympa Menu

freetds - Re: interface file

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: interface file
  • Date: Tue, 7 May 2002 22:38:01 -0400 (EDT)


James,

SybSQL reads the interfaces file to present a list of servers to connect
to etc... There's really not much that can be done about it. I'd
recommend doing something like:

grep '^[' $SYBASE/etc/freetds.conf | grep -v '[global]' | sed -e 's/[//' |
sed -e 's/]/\
query tcp ether 127.0.0.1 1433/' > $SYBASE/interfaces

And i think that should be sufficient to fake out SybSQL to list the
servers and then freetds will use the freetds.conf file to connect as
usual.

B.

On Tue, 7 May 2002, James K. Lowden wrote:

> On 07 May 2002 07:42:21 -0600 "Ray Carlino" <rcarlino AT attbi.com> wrote:
> > I am using sybsql and it only looks for the interface file (I think)
> > Is there a way to use domain logins from the interface file to a ms sql
> > server?
>
> Ray,
>
> I'm not sure I understand what you mean by "using sybsql". If it is
> linked to FreeTDS, you can use freetds.conf instead of $SYBASE/interfaces
> to describe your servers.
>
> --jkl
>





Archive powered by MHonArc 2.6.24.

Top of Page