Skip to Content.
Sympa Menu

freetds - Re: long password issues (trying to fix)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Blake Nyquist <blake.nyquist AT voyager.net>
  • To: "TDS Development Group" <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: long password issues (trying to fix)
  • Date: Thu, 22 Aug 2002 10:48:02 -0400


Many thanks to the responses from James, Frediano and Brian on this issue. I see CVS has the fix for bumping the password limit to 40 characters. I tried downloading the latest snapshot, but I'm getting errors when running 'make'. This is my configure:

[root@mymachine freetds]# ./configure --prefix=/usr/local/freedtds --with-tdsver=7.0

... and this is the end of the 'make' output:

Making all in dblib
make[2]: Entering directory `/usr/src/freetds/src/dblib'
Making all in unittests
make[3]: Entering directory `/usr/src/freetds/src/dblib/unittests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/freetds/src/dblib/unittests'
make[3]: Entering directory `/usr/src/freetds/src/dblib'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70 -DMSDBLIB -c bcp.c
rm -f .libs/bcp.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70 -DMSDBLIB -c bcp.c -fPIC -DPIC -o .libs/bcp.lo
../../gcc/function.c:2392: Internal compiler error in function fixup_memory_subreg
make[3]: *** [bcp.lo] Error 1
make[3]: Leaving directory `/usr/src/freetds/src/dblib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/freetds/src/dblib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/freetds/src'
make: *** [all-recursive] Error 1
[root@mymachine freetds]#


.... I'm none too versed in the ways of 'make' and compiling so any light that could be shed on this would be helpful.

advTHANXance!!

-Blake


At 12:41 PM 8/21/2002, Brian Bruns wrote:
> I cheched in a small patch with a workaround for this.
> I bring password limit to 40 characters.
> You must use 7.0 or 8.0 protocol.

> Simply it use TDS7 protocol with different login packets...
> Also TDS5 should allow password longer than 30 characters but is a bit more
> complex to solve.

TDS 4/5 have a secondary password field and based on the authentication
scheme (ie kerberos) it forces use of that one instead of the primary
IIRC. However I don't know what would trigger it to look there for a > 30
char normal password.

> > I don't remember this issue coming up before. There is some
> > interest in
> > allowing for tablenames and such >30 characters, but no one
> > working on the
> > problem as yet.
> >
>
> It this problem written in issue document ?

This is an old sybase limitation that MS did away with (I think they
support up to 256 now). I'm not sure what the issue is though, I don't
recall anywhere in the code that we artficially limit this...on the server
side perhaps?

Brian

---
You are currently subscribed to freetds as: [blake.nyquist AT voyager.net]
To unsubscribe, forward this message to $subst('Email.Unsub')



__________________
Blake Nyquist
blake.nyquist AT voyager.net





Archive powered by MHonArc 2.6.24.

Top of Page