[freetds] domain login to mssql7 - login failed for user null - not associated with a trusted sql server connection

Steve Langasek vorlon at netexpress.net
Sun Jan 5 00:03:16 EST 2003


Hi Paul,

On Sat, Jan 04, 2003 at 10:43:09AM -0500, Paul Munn wrote:

> I went back over the past few months of the list archives and didn't see 
> info on this, so here goes.

> I've installed the cvs snapshot of freedts and am attempting to use the 
> tsql program to talk to my mssql 7 server on the LAN.  I built it with 
> ssl to support domain logins.

> and here's the result of a tsql -S dev01 -U myusername followed by me 
> hand-typing my password:

> Msg 18452, Level 14, State 1, Server , Line 0
> Login failed for user '(null)'. Reason: Not associated with a trusted 
> SQL Server connection.
> Msg 20004, Level 9, State 0, Server OpenClient, Line 0
> Read from SQL server failed.
> Msg 20014, Level 9, State 0, Server OpenClient, Line 0
> Login incorrect.
> There was a problem connecting to the server

> The website documentation suggests I set a security checkbox on the 
> server via Enterprise Manager, but it's already set in the "Windows and 
> SQL Server" position.

I can't say that I've used tsql for much of anything, so I don't know
how to debug this error.  Have you tried to connect using sqsh instead?
It's possible that this is simply a bug in tsql that you can avoid by
using sqsh.

-- 
Steve Langasek
postmodern programmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20030105/72bbcc64/attachment.bin


More information about the FreeTDS mailing list