НАстроил odbc.ini, odbcinst.ini, freetds.conf, теперь такая ошибкаisql -v w2k3new.domain.local user password
[S1000][unixODBC][FreeTDS][SQL Server]Unable to connect to data source
[08S01][unixODBC][FreeTDS][SQL Server]Bad token from the server: Datastream processing out of sync
[01000][unixODBC][FreeTDS][SQL Server]Changed database context to 'IPT_SQL'.
[ISQL]ERROR: Could not SQLConnect
odbc.ini:
[w2k3new.domain.local]
Driver = FreeTDS
Description = mssql
Trace = Yes
Server = 192.168.1.173
Port = 1433
TDS version = 7.4
Database = IPT_SQL
odbcinst.ini:
[FreeTDS]
Description = FreeTDS 7.4
Driver = /usr/local/lib/libtdsodbc.so.0
freetds.conf:
[global]
# TDS protocol version
tds version = auto
# Whether to write a TDSDUMP file for diagnostic purposes
# (setting this to /tmp is insecure on a multi-user system)
dump file = /tmp/freetds.log
; debug flags = 0xffff
# Command and connection timeouts
; timeout = 10
; connect timeout = 10
# If you get out-of-memory errors, it may mean that your client
# is trying to allocate a huge buffer for a TEXT field.
# Try setting 'text size' to a more reasonable limit
text size = 64512
# If you experience TLS handshake errors and are using openssl,
# try adjusting the cipher list (don't surround in double or single quotes)
# openssl ciphers = HIGH:!SSLv2:!aNULL:-DH
# A typical Sybase server
[mypool]
host = 127.0.0.1
port = 5000
tds version = 5.0
# A typical Microsoft server
[w2k3new.domain.local]
host = w2k3new.domain.local
port = 1433
tds version = 8.0
client charset = cp1251
Есть тут спецы по этому вопросу?