relink AD usergroups after restore

  • Hello,

    I've restored a sql 2000 database in another Active Directory.

    Which result in broken users/logins. The usergroupnames are the same but the AD Domains are different. I mean to remembver that there was a stored procedure to fix this, but I can't find it anymore.

    Any idea?

    It was something like sp_fix_logins ('Database', 'OldDomain', 'NewDomain')

     

  • This was removed by the editor as SPAM

  • I think you'll want to begin your search with sp_change_users_login...

  • Script them out from EM, including db permissions, then search and replace with the new domain name.

    Then run the script.

    Then edit the original script for the drops only and remove the old logins WHEN YOU ARE SURE the new ones work. The only way to do this is recreate the new groups.

  • The way Steve explains, work for me.

    Thanks.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply