-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FREETDS doesn't work with newer SqlServer version #637
Comments
Benvenuto! You are using pretty old systems! See https://www.freetds.org/userguide/logging.html on how to enable more logging. Surely you should be able to understand, for instance, if is a TCP connection error.
You can try setting |
Thank you Freddy77 for your reply ! In the meanwhile i'll try to find openssl config on AS400... Thanks again ! |
Yes, I can confirm it's a TLS handshake issue, see lines
|
Thank you Freddy, i will speak with my network specialist again ! Alberto |
I would bet it's the cipher list accepted by OpenSSL. Either reduce security adding ciphers (like the way I described) or increase the list on the server (which could need to install some updates or... upgrade entire Windows server). |
Good morning everybody.
My name is Alberto and i'm from Italy; i've a problem trying to reach a MSSqlServer with FreeTDS starting from an AS400 mounting ZendServer (PHP).
The version installed of FreeTDS is
sql -C
Compile-time settings (established with the "configure" script)
Version: FreeTDS v1.4.10
freetds.conf directory: /QOpenSys/etc
MS db-lib source compatibility: no
Sybase binary compatibility: no
Thread safety: yes
iconv library: yes
TDS version: auto
iODBC: no
unixodbc: yes
SSPI "trusted" logins: no
Kerberos: no
OpenSSL: yes
GnuTLS: no
MARS: yes
If i try to connect to a SQLServer with these attributes --> SqlServer 2000 Version 8.00.2039 - Level SP4 - Standard Edition
all works well
tsql -H 10.1.1.218 -p 1433 -U XXX -P XXX
locale is "IT_IT IT_IT IT_IT IT_IT IT_IT IT_IT"
locale charset is "UTF-8"
using default charset "UTF-8"
1>
use MG
2>
SELECT SERVERPROPERTY('ProductVersion') AS ProductVersion
3>
go
ProductVersion
8.00.2039
(1 row affected)
if i try to connect to another SQLServer like this --> SqlServer 2008 Version 10.50.6000.34 - Level SP3 - Standard Edition (64-bit)
i can't proceed because
tsql -H 10.1.1.211 -p 1433 -U XXX -P XXX
locale is "IT_IT IT_IT IT_IT IT_IT IT_IT IT_IT"
locale charset is "UTF-8"
using default charset "UTF-8"
Error 20002 (severity 9):
Adaptive Server connection failed
There was a problem connecting to the server
Do you have any suggestions ?
Thank you for your help.
Alberto
The text was updated successfully, but these errors were encountered: