Skip to Content.
Sympa Menu

freetds - RE: [freetds] Login - Password lenght

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Login - Password lenght
  • Date: Mon, 21 Jul 2003 11:20:55 -0400

> From: Matias Braun [mailto:cpd AT gramadosite.com.br]
> Sent: July 21, 2003 10:40 AM
>
> in tds v. 5.0 the password length is "CHAR[30]", but i use a
> password with char[128] with sybase sql anywhere 5.5 in isql.
> Then i changed in source code the length of the password to
> 128 "TDS_MAX_LOGIN_STR_SZ 128"(tds.h), but ins't
> working, my freetds.log shows that my password continues
> whith char[30]. Is this a protocol limit?

Matias,

Sybase servers use TDS 5.0. The login packet for TDS 5.0 provides up to 30
bytes for the password. Cf. http://www.freetds.org/tds.html. AFAIK, the
30-byte limit is a fixed property of the protocol.

If you're willing and able to use tcpdump(8) to capture a login packet with
a password longer than 30 bytes, I'm sure folks here would be interested to
see it.

Could it be perhaps that isql lets you enter a longer password but ignores
the characters beyond 30?

--jkl
-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.






Archive powered by MHonArc 2.6.24.

Top of Page