I am stuck with the same situation...however it is my conclusion that the problem is originating in unixODBC, not the freetds. The tests i ran are as follows:
/usr/local/freetds/bin/tsql -S MyServer70 -U sa
locale is "en_US.UTF-8"
charset is "UTF-8"
Password:
Msg 5703, Level 0, State 1, Server ACSSQL, Line 0
Changed language setting to us_english
This was successful...however:
isql -v MyServer70 sa password
[unixODBC]Client unable to establish connection
[ISQL]ERROR: Could not SQLConnect
This is completely wrong...
My config files are as follows:
[root@skopjanka etc]# cat /etc/odbcinst.ini
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1
[TDS]
Description = v0.52 with protocol v4.2
Driver = /usr/local/freetds/lib/libtdsodbc.so
FileUsage = 1
cat /etc/odbc.ini
[MyServer70]
Driver = TDS
Description = Northwind sample database
Trace = No
Servername = 195.26.152.120
Database = Northwind
UID = sa
I am utterly stuck and have no idea what to do