Hi,
I'm attempting to connect to a SQL Server 2005 instance on a Windows 2003 server remotely with Management Studio on a Windows XP box. SQL Server is set to use Windows Authentication.
If I select Windows Authentication as the authentication method in Management Studio, the 'user name' field is greyed-out and locked to my current XP user name, which is no good for connecting to the server.
Why is this happening and how can I change the user name and password to that of an actual account on the server?
TIA,
CraigyBoop
You can′t switch that for integrated security, as "integrated" security uses the logged on user. The field Username is only valid and accessible if you choose SQL Server Authentication. There are way to impersonate yourself with a Windows credential, but AFAIK these are only programmatically.HTH, Jens Suessmeyer.|||The account name is picked up from what you have used to login to Windows. This is the idea about
"trusted connections", SQL Server trusts that windows has authenticated the login. Start SSMS in
another windows account (Windows "Run As" feature) if you want to authenticate differently.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
news:67a6dbd1-6f2c-4fd9-93a9-c93d090ea724@.discussions.microsoft.com... > Hi, > > I'm attempting to connect to a SQL Server 2005 instance on a Windows > 2003 server remotely with Management Studio on a Windows XP box. SQL > Server is set to use Windows Authentication. > > If I select Windows Authentication as the authentication method in > Management Studio, the 'user name' field is greyed-out and locked to my > current XP user name, which is no good for connecting to the server. > > Why is this happening and how can I change the user name and password to > that of an actual account on the server? > > TIA, > > CraigyBoop > >||| I don't understand why that counts as a "Trusted Connection". What's untrusted about being able to log onto a SQL Server with a different Windows account from your current one. Presumably SQL Server can authenticate your Windows credentials if you are using credentials within the same domain? I too am frustrated by not being able to connect as a different user. Any chance you can explain the reasoning behind this? Thanks, Colin actually this is not right, there is not just passed a username in combination with the domain, the user is authenticated and the user token is passed to the Server, thats a different thing than just the user name. So SQL Server trusts the logon server not the client that the user was validated and authenticated. HTH, Jens K. Suessmeyer http://www.sqlserver2005.de
When I'm working remotely I have to use Aqua Data Studio to connect to our db so I can work. The ironic thing about that even though is it's written in Java and a totally non-native client app, it supports Intelli-sense, and will prompt for network credentials. Of course it's java-app so it looks all crappy and acts weird or else I might consider using it full time.
The run-as idea is not bad. I'll give that a try next time.|||Hi,
No comments:
Post a Comment