|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: 2 days ago @ 9:35 AM
Points: 3,
Visits: 592
|
|
I have couple of linked servers on SQL server 2005 need to migrate to another SQL server 2005.I have to script out remote login password as well. when i script out Linked server,it won't bring password. it come up with hashed '#####'. There is no way to find out password from my team or application users. Is it possible to script out linked server with remote login credential ?
Can someone guild me how to resolve this issue ?
|
|
|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Today @ 5:23 AM
Points: 11,638,
Visits: 27,715
|
|
nope it's not possible. linked server password, remote credential password, and also the password used for smtp authentication for any mail profiles are stored in a CREDENTIAL object, and there is no way to reverse engineer/read the value from the database.
so you can script out the settings, and enter the correct value into the script afterwards(if you know it)
but there is no way to get it from SQL.
Lowell
--There is no spoon, and there's no default ORDER BY in sql server either. Actually, Common Sense is so rare, it should be considered a Superpower. --my son
|
|
|
|
|
SSCoach
         
Group: General Forum Members
Last Login: 2 days ago @ 1:55 PM
Points: 15,442,
Visits: 9,571
|
|
The only solution is the same one for any lost password: Get it reset to something you know, and then copy that into the create script.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
|
|
|
|