February 21, 2014 at 3:17 am
As part of security we have implemented groups and removed the individual logins from server and database.
but for linked servers access we are unable to add those groups. here if we are creating individual logins then only we can able to execute the linked server queries.
how can we add the groups to linked servers.we doesn't individual logins.
EXEC sp_addlinkedsrvlogin 'servername', 'false', 'domainusername', 'login', 'password'
i have executed the above query this is also creating the individual logins.
please help me out from this.
February 24, 2014 at 1:55 am
can anyone please suggest on this
February 24, 2014 at 12:41 pm
Did you try the option " Be made using the login's security Context " ..
--
SQLBuddy
February 25, 2014 at 2:09 am
Yes i have checked for all the options we are unable to add the groups name here.
February 25, 2014 at 12:35 pm
Group? I assume it is windows security group in AD.
We use "Be made using the login's security Context" without any issue..... Or you may forget to create SPN?
February 25, 2014 at 12:50 pm
Logins will be in the AD group and you grant permissions to a role and add the group to that role. Then use " Be made using the login's security Context ".
--
SQLBuddy
February 25, 2014 at 1:55 pm
Windows AD groups are not supported for linked Servers. This is by design and per MS, will not likely be changed going forward (based upon articles I've read in the past)
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
February 26, 2014 at 5:10 am
Logins will be in the AD group and you grant permissions to a role and add the group to that role. Then use " Be made using the login's security Context ".
for the above which role we have to choose for Linked servers.is there any specific database roles are not?
February 26, 2014 at 7:35 am
For the same reason as what I mentioned above, it's a security risk. Linked servers allow security through a single account only: whether it be a sql account or a windows account.
I did a quick search and came up with the following explanation from Microsoft:
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
February 26, 2014 at 8:26 am
There is no specific role for Linked Servers. Just you need to manage security at the SQL Server level and you can use DB roles for granting granular permissions.
--
SQLBuddy
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply