SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 How do I impersonate a SQL Server login?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SwePeso
Patron Saint of Lost Yaks

Sweden
30281 Posts

Posted - 03/14/2007 :  03:28:02  Show Profile  Visit SwePeso's Homepage  Reply with Quote
I am currently logged in as local admin on my laptop, and I want to connect to clients SQL Server 2005.
I can't use my local admin and have to use company network login.

How can I impersonate my network login when connecting to the SQL Server when using local admin account?


Peter Larsson
Helsingborg, Sweden

pootle_flump
Flowing Fount of Yak Knowledge

United Kingdom
1064 Posts

Posted - 03/14/2007 :  09:23:59  Show Profile  Reply with Quote
You might want to change the title to the thread if possibe - I thought that seemed a bit easy for someone like you

Dunno though - RDC onto another machine with SSMS tools installed?
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

Sweden
30281 Posts

Posted - 03/14/2007 :  09:36:15  Show Profile  Visit SwePeso's Homepage  Reply with Quote
Well, cannot do.
I don't want to add my machine to their domain.
I have a domain account.
I do not have access to connect via Remote Desktop to SQL Server.
I have dbo access to some databases.

All I want to do is to add the SQL Servers to my local SSMS in "Registered servers". But the login window does not allow me to put in another domain account ("se\peterl") when selecting "Windows authentication". I am logged on to my laptop as "laptop\peso".


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

Kristen
Test

United Kingdom
22431 Posts

Posted - 03/14/2007 :  09:43:38  Show Profile  Reply with Quote
Scrap the "Windows authentication" goal then
Go to Top of Page

mcrowley
Aged Yak Warrior

771 Posts

Posted - 03/14/2007 :  09:47:26  Show Profile  Reply with Quote
Use the runas utility. Works for all of our consultants.

EDIT: Suppose I should add a link, eh? ;-)
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/runas.mspx?mfr=true

Edited by - mcrowley on 03/14/2007 09:48:25
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000