interface file
Brian Bruns
camber at ais.org
Tue May 7 23:38:01 EDT 2002
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
>
More information about the FreeTDS
mailing list