February 26, 2014 at 4:04 am
Hi I need to configure linked server on SQL Server 2008.
I have some users with read only rights, and I don't want provide access to that logins on some linked server not all.
February 26, 2014 at 6:03 am
check each of your linked servers, and make sure the option for this part is "not be made" or "be made using the logins current security context" if you are sure they do not have permissions on the other server.
For a login not defined in the list above connections will
[X] not be made
with that selected, if the user tries to use the linked server, it will fail with an error, most likely about Anonymous logins
Lowell
February 28, 2014 at 1:26 am
Hi Lowell,
It is giving me following error,
TITLE: Microsoft SQL Server Management Studio
------------------------------
The linked server has been updated but failed a connection test. Do you want to edit the linked server properties?
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
Access to the remote server is denied because no login-mapping exists. (Microsoft SQL Server, Error: 7416)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.1600&EvtSrc=MSSQLServer&EvtID=7416&LinkId=20476
------------------------------
BUTTONS:
&Yes
&No
------------------------------
February 28, 2014 at 5:34 am
the screenshot i provided is an example of where the only people using the linked server are explicitly defined in a list; my sa example int he first like is mapped, so sa would be able to create the linked server without error;
mydomain\lowell, even though he's a sysadmin, would fail, because a mapping specifically for my login doesn't exist.
you're falling into that category, i think.
Lowell
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply