all groups > sql server connect > september 2005 >
You're in the

sql server connect

group:

Please help i can't connect....


Please help i can't connect.... marta
9/29/2005 2:13:42 AM
sql server connect:
Hi

I'm loged on Workstation as a user EUR\zzzz1 and i use different user
EUR\abc123 to map a drive on remote server SERVER2, SERVER2 is a domain
controler . It works.
On SERVER2 i have SQL Server 2000 with mixed mode authentication.
I have a user abc123 added in Active directory on SERVER2:
SERVER2\abc123. The same user is added in Sql Server with rights etc.

When i lounch Query Analyzer on my Workstation and select Sql
Authentication to use EUR\abc123 user i got message "[Microsoft][ODBC
SQL Server Driver][SQL Server]Login failed for user 'EUR\abc123'"
Why i have no access to sql server ?


regards
m
Re: Please help i can't connect.... marta
9/29/2005 3:21:02 AM
Ok now i use windows NT Authentication and i can log in but this way
i'm connected to SERVER2 with user EUR\zzzz1 not abc123... I need to
connect using user abc123. How to do that ?

M.
Re: Please help i can't connect.... marta
9/29/2005 7:01:14 AM
Of course i can map a drive using that pass.
The problem is : how to connect to sql server on remote server with
windows authentication, when i am logged on local workstation with
different user.

M
Re: Please help i can't connect.... Kalen Delaney
9/29/2005 7:10:16 AM
Hi Marta

If EUR\abc123 has been added to the server as a login, you will need SQL
authentication to connect as that login. Are you sure you're using the
right password?

--
HTH
Kalen Delaney, SQL Server MVP
www.solidqualitylearning.com


[quoted text, click to view]


Re: Please help i can't connect.... Mike Epprecht (SQL MVP)
9/29/2005 11:16:33 AM
Hi

You must not use SQL Authentication, as it is a domain account, you need to
select NT Authentication when connecting.

Regards
--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland

IM: mike@epprecht.net

MVP Program: http://www.microsoft.com/mvp

Blog: http://www.msmvps.com/epprecht/

[quoted text, click to view]

Re: Please help i can't connect.... David J. Cartwright
9/29/2005 12:29:10 PM
you can always connect to the ipc share of remote user with the login/pw of
the user you want

NET USE \\REMOTEPUTER\IPC$ /USER:MYUSERNAME "MYPASSWORD"
now event hough your are logged on as user LOCALUSER....any connection to
remote puter will be as MYUSERNAME

get it ?



[quoted text, click to view]

Re: Please help i can't connect.... Tony Sebion
9/29/2005 2:13:19 PM
You could probably use "Run As" (right-click the shortcut/executable,
and choose "Run as..." from the menu) to run Query Analyzer under the
context of another user, and therefore be able to pass that security
ticket to the SQL Server when you use Windows Authentication. Runas.exe
can also be called from the command line w/ switches. I believe this
functionality is only available from the right-click menu on Windows
2003 and XP - 2000 contains the command line version.

Good luck,
Tony Sebion

[quoted text, click to view]
AddThis Social Bookmark Button