Linked server login problem

  • 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.

  • can anyone please suggest on this

  • Did you try the option " Be made using the login's security Context " ..

    --

    SQLBuddy

  • Yes i have checked for all the options we are unable to add the groups name here.

  • 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?

  • 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

  • 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

  • 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?

  • 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:

    http://connect.microsoft.com/SQLServer/feedback/details/375983/allow-windows-groups-as-linked-server-logins

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • 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