freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Sybase Connection - trouble without protocol fallback
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: Fredy Paquet <fredy AT opag.ch>
- Cc: FreeTDS Development Group <freetds AT lists.ibiblio.org>, Igor Korot <ikorot01 AT gmail.com>
- Subject: Re: [freetds] Sybase Connection - trouble without protocol fallback
- Date: Wed, 5 Jul 2017 10:24:30 +0100
2017-07-04 16:28 GMT+01:00 Fredy Paquet <fredy AT opag.ch>:
> Hello Igor
>
> The FreeTDS user guide defines default encryption level is OFF:
> (see http://www.freetds.org/userguide/freetdsconf.htm)
>
> The config file parser initializes encryption_level to
> TDS_ENCRYPTION_DEFAULT. If you do not set encryption in any section of
> your freetds.conf, the encryption_level in the login struct remains at
> TDS_ENCRYPTION_DEFAULT.
>
> Today, the TDS 7.1 driver changes this value to TDS_ENCRYPTION_REQUEST,
> which doesn't implement the documented behaviour.
>
The website documentation reflect the last stable release where the
default was OFF.
> I do not know wether MSSQL can accept unencrypted requests (no test
> system available).
>
Recent ones do not allow unencrypted logins.
> If MSSQL cannot accept unencrypted connections, it may be ok to fallback
> to TDS_ENCRYPTION_REQUEST for TDS 7.1. But this clearly must not affect
> further trials on the lower protocol levels.
>
> Agree, it would be good programming practise to introduce a #define for
> the default encryption level.
>
What do you mean? Is an enum not enough?
> fp
>
Frediano
-
Re: [freetds] Sybase Connection - trouble without protocol fallback,
Frediano Ziglio, 07/03/2017
- <Possible follow-up(s)>
-
Re: [freetds] Sybase Connection - trouble without protocol fallback,
Fredy Paquet, 07/04/2017
-
Re: [freetds] Sybase Connection - trouble without protocol fallback,
Igor Korot, 07/04/2017
-
Re: [freetds] Sybase Connection - trouble without protocol fallback,
Fredy Paquet, 07/04/2017
- Re: [freetds] Sybase Connection - trouble without protocol fallback, Frediano Ziglio, 07/05/2017
-
Re: [freetds] Sybase Connection - trouble without protocol fallback,
Fredy Paquet, 07/04/2017
-
Re: [freetds] Sybase Connection - trouble without protocol fallback,
Frediano Ziglio, 07/05/2017
-
Re: [freetds] Sybase Connection - trouble without protocol fallback,
Fredy Paquet, 07/05/2017
- Re: [freetds] Sybase Connection - trouble without protocol fallback, Fredy Paquet, 07/08/2017
-
Re: [freetds] Sybase Connection - trouble without protocol fallback,
Fredy Paquet, 07/05/2017
-
Re: [freetds] Sybase Connection - trouble without protocol fallback,
Igor Korot, 07/04/2017
Archive powered by MHonArc 2.6.24.