freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: jklowden AT schemamania.org
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] ignore --tdsver
- Date: Fri, 9 Sep 2011 17:53:30 -0400
On Fri, Sep 09, 2011 at 04:18:37PM -0400, Bob Hetzel wrote:
> James,
>
> Regarding re-trying the login with each protocol until it finds a good
> one... is there any chance that'll cause an account lock-out if a place has
> really tight security settings?
>
> I guess the real question I'm asking is... how far will it get when it
> fails due to the wrong tds version for that server? If it fails before
> sending the username/password then there would probably not be a problem.
> After that point, it might be.
http://msdn.microsoft.com/en-us/library/dd304019(v=PROT.13).aspx
I can't prove it, Bob, but I just don't think so.
If you just telnet to a TDS host, type ~40 bytes and press ENTER, the server
will close the connection. It knows it's not a valid login packet long before
the username arrives.
The first 32 bits of a login packet is the length; the next 32 bits is the TDS
version. A server receiving a wrong (to it) length or a version higher than
expected is pretty much obliged to quit. It has no way to know where the
username and password lie in the packet. It's not like they're highlighted in
yellow or something. ;-)
--jkl
-
Re: [freetds] Only TDSVER=4.2 works when connecting to MS SQL 2005
, (continued)
-
Re: [freetds] Only TDSVER=4.2 works when connecting to MS SQL 2005,
James K. Lowden, 09/06/2011
-
Re: [freetds] Only TDSVER=4.2 works when connecting to MS SQL 2005,
Michael Gurfinkel [TSS], 09/07/2011
-
Re: [freetds] Only TDSVER=4.2 works when connecting to MS SQL 2005,
Ken Collins, 09/07/2011
-
Re: [freetds] Only TDSVER=4.2 works when connecting to MS SQL 2005,
Michael Gurfinkel [TSS], 09/07/2011
-
[freetds] ignore --tdsver,
Mike Slifcak, 09/07/2011
- Re: [freetds] ignore --tdsver, Ken Collins, 09/07/2011
-
Re: [freetds] ignore --tdsver,
Craig A. Berry, 09/07/2011
- Message not available
- Re: [freetds] ignore --tdsver, Craig A. Berry, 09/08/2011
- Re: [freetds] ignore --tdsver, James K. Lowden, 09/08/2011
- Re: [freetds] ignore --tdsver, Bob Hetzel, 09/09/2011
- Re: [freetds] ignore --tdsver, jklowden, 09/09/2011
- [freetds] auto login protocol retry (was Re: ignore --tdsver), Mike Slifcak, 09/14/2011
- Re: [freetds] auto login protocol retry (was Re: ignore --tdsver), James K. Lowden, 09/15/2011
- Re: [freetds] ignore --tdsver, Craig A. Berry, 09/09/2011
- Re: [freetds] ignore --tdsver, Jackson, Craig, 09/09/2011
- Re: [freetds] ignore --tdsver, James K. Lowden, 09/10/2011
-
[freetds] ignore --tdsver,
Mike Slifcak, 09/07/2011
-
Re: [freetds] Only TDSVER=4.2 works when connecting to MS SQL 2005,
Michael Gurfinkel [TSS], 09/07/2011
-
Re: [freetds] Only TDSVER=4.2 works when connecting to MS SQL 2005,
Ken Collins, 09/07/2011
-
Re: [freetds] Only TDSVER=4.2 works when connecting to MS SQL 2005,
Michael Gurfinkel [TSS], 09/07/2011
-
Re: [freetds] Only TDSVER=4.2 works when connecting to MS SQL 2005,
James K. Lowden, 09/06/2011
Archive powered by MHonArc 2.6.24.