Re: newbe

Gennady Vayl <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hi,
Thanks for the reply.
I think I have the proper tds version now and iconv is off...

Compile-time settings (established with the "configure" script)
                            Version: freetds v0.82
             freetds.conf directory: /usr/local/etc
     MS db-lib source compatibility: no
        Sybase binary compatibility: no
                      Thread safety: yes
                      iconv library: no
                        TDS version: 8.0
                              iODBC: no
                           unixodbc: no

I'm getting a new error:
Login failed for user ''. The user is not associated with a trusted SQL Server connection.
Msg 20002, Level 9, State -1, Server OpenClient, Line -1
Adaptive Server connection failed
There was a problem connecting to the server

I read on the users guide that I need: The setting should be "Send LM & NTLM responses".  
  			

I can't set this since our IT doesn't allow this. Is there a workaround?

Thanks.


> Date: Sun, 3 May 2009 17:33:40 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [freetds] newbe
> 
> I'd check the "tds version" parameter on the configuration file. Check on
> the documentation to make sure that you're using the proper value for your
> DB engine.
> You could also try enabling the debug mode and see what's the error returned
> by the server (if any):
> 
>         dump file = /tmp/freetds.log
>         debug flags = 0xFFFF (this will get everything, check the
> documentation about possible values).
> 
> Regards,
> 
> Alejandro
> 
> On Sun, May 3, 2009 at 5:22 PM, Gennady Vayl <[email protected]> wrote:
> 
> >
> > Thanks,
> >
> > I am past the iconv problem. Now I have a new one. I'm trying to connect to
> > SQL server 2005.
> > Using the same tsql command as before I get the following errors...
> >
> > locale is "C C C C C C"
> > locale charset is "ISO8859-1"
> > Password:
> > Msg 20017, Level 9, State -1, Server OpenClient, Line -1
> > Unexpected EOF from the server
> > Msg 20002, Level 9, State -1, Server OpenClient, Line -1
> > Adaptive Server connection failed
> > There was a problem connecting to the server
> >
> > Here's some additional info that's required prior to sending you guys
> > stuff:
> > SQL Server version: SQL Server 2005
> > FreeTDS version (or snapshot date, if not a release): Latest stable release
> > installed last Friday
> > which client library you are using ???
> > what language or Perl module, as appropriate, you're using: not using one
> > still testing with tsql
> > your client OS and hardware architecture: Old alpha machine V5.1 OSF1
> >
> >
> >
> > > Date: Sat, 2 May 2009 18:47:10 -0400
> > > From: [email protected]
> > > To: [email protected]
> > > Subject: Re: [freetds] newbe
> > >
> > > Gennady Vayl wrote:
> > > >
> > > > After I run this command:
> > > >
> > > > tsql -H (ipaddress of server, also tried machine name) -p 1433 -U
> > > >       (username, also tried domain/user name) -P password
> > > >
> > > > I get the following error:
> > > >  iconv.c:354: failed assertion `ret == 0'
> > >
> > > Probably you want to disable libiconv,
> > >
> > > $ ./configure --help | grep iconv
> > >   --disable-libiconv      do not attempt to include libiconv
> > > ...
> > >
> > > The built-in iconv handles all the basics for communicating with the
> > > server.  If you really need iconv, speak to Mr. GNU.  ;-)
> > >
> > > HTH.
> > >
> > > --jkl
> > >
> > > _______________________________________________
> > > FreeTDS mailing list
> > > [email protected]
> > > http://lists.ibiblio.org/mailman/listinfo/freetds
> >
> > _________________________________________________________________
> > Hotmail® has a new way to see what's up with your friends.
> >
> > http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009
> > _______________________________________________
> > FreeTDS mailing list
> > [email protected]
> > http://lists.ibiblio.org/mailman/listinfo/freetds
> >
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds

_________________________________________________________________
Hotmail® has a new way to see what's up with your friends.
http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.