Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Linked SQL Servers problem

Linked SQL Servers problem

Scheduled Pinned Locked Moved Database
databasesql-serversysadminsecurityhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    goodideadave
    wrote on last edited by
    #1

    I have several servers. Server 1 is SQL Server 2000, Servers 2 and 3 are SQL Server 2005. I have linked 2 (2005) to 3 (2005) and 1 (2000) to 2 (2005). I have two windows logins that are in the sysadmin role on all servers. Neither login is an owner of a database. Both logins are members of the builtin/administrators group. Login A can connect to server 1 (2000) in mgmt studio and see all the databases on server 2 (2005). Login B connects to server 1 (2000) in mgmt studio but can only see one database on server 2 (2005). But both can connect to server 2 (2005) and see all the databases in the linked server 3. Server 1 (the SS2000 box) has a number of windows logins mapped to the sa, and one sql login mapped to a local login on server 2. When I change the "...be made using this security context" to sa, it instead inserts the local login. I probably didn't explain this very well, but it has given me a migraine. Any idea what's going on here?

    My other signature is witty and insightful.

    M 1 Reply Last reply
    0
    • G goodideadave

      I have several servers. Server 1 is SQL Server 2000, Servers 2 and 3 are SQL Server 2005. I have linked 2 (2005) to 3 (2005) and 1 (2000) to 2 (2005). I have two windows logins that are in the sysadmin role on all servers. Neither login is an owner of a database. Both logins are members of the builtin/administrators group. Login A can connect to server 1 (2000) in mgmt studio and see all the databases on server 2 (2005). Login B connects to server 1 (2000) in mgmt studio but can only see one database on server 2 (2005). But both can connect to server 2 (2005) and see all the databases in the linked server 3. Server 1 (the SS2000 box) has a number of windows logins mapped to the sa, and one sql login mapped to a local login on server 2. When I change the "...be made using this security context" to sa, it instead inserts the local login. I probably didn't explain this very well, but it has given me a migraine. Any idea what's going on here?

      My other signature is witty and insightful.

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      goodideadave wrote:

      I probably didn't explain this very well

      I don't think it is possible to explain your problem clearly. I have a number of cardinal rules I apply when building a solution one of them is absolutely NO linked servers, now I remember why.

      Never underestimate the power of human stupidity RAH

      G 1 Reply Last reply
      0
      • M Mycroft Holmes

        goodideadave wrote:

        I probably didn't explain this very well

        I don't think it is possible to explain your problem clearly. I have a number of cardinal rules I apply when building a solution one of them is absolutely NO linked servers, now I remember why.

        Never underestimate the power of human stupidity RAH

        G Offline
        G Offline
        goodideadave
        wrote on last edited by
        #3

        They are very fond of linked servers here. So how do you include data in tables on server 2 in a join executing on server 1? We've had to spread data out among different servers due to not having enough disk space on any one box. We're maxed out on our drives and can't afford to buy into the mother ship's SAN. Do you replicate the data between servers?

        My other signature is witty and insightful.

        M 1 Reply Last reply
        0
        • G goodideadave

          They are very fond of linked servers here. So how do you include data in tables on server 2 in a join executing on server 1? We've had to spread data out among different servers due to not having enough disk space on any one box. We're maxed out on our drives and can't afford to buy into the mother ship's SAN. Do you replicate the data between servers?

          My other signature is witty and insightful.

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          I work for the mothership and disk space is not an issue. Now I understand why you have such a horrible setup. I would think replication would not be a good solution with your space issue. That leaves your solution, linked server. I'd kill the lot and set up 1 id across all environments purely for this requirement. None of them integrated.

          Never underestimate the power of human stupidity RAH

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups