RE: Do Windows Authentication SQL 2k5 Logins survive a sysprep?
- From: changliw@xxxxxxxxxxxxxxxxxxxx (Charles Wang[MSFT])
- Date: Mon, 16 Apr 2007 06:01:48 GMT
Hi, Bulent,
A DBA does not need to fix the users if he only wants to restore a database
to a new server.
Your thinking is right. Logins are associated to users by the security
identifier (SID), and if the SID is inconsistent after you move a database,
SQL Server may deny the user access to the database. At this time, you may
need to run the stored procedure sp_change_users_login to map the user and
login. Also there is a tool Mapsids.exe which can help you map SIDs between
user and master database when database is moved.
Please refer to:
How to move databases between computers that are running SQL Server
http://support.microsoft.com/?id=314546
How to resolve permission issues when you move a database between servers
that are running SQL Server
http://support.microsoft.com/kb/240872/
Please feel free to let me know if you have any other questions or
concerns. Have a good day!
Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications
If you are using Outlook Express, please make sure you clear the check box
"Tools/Options/Read: Get 300 headers at a time" to see your reply promptly.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
======================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
.
- Follow-Ups:
- Re: Do Windows Authentication SQL 2k5 Logins survive a sysprep?
- From: Uri Dimant
- Re: Do Windows Authentication SQL 2k5 Logins survive a sysprep?
- References:
- Do Windows Authentication SQL 2k5 Logins survive a sysprep?
- From: Joe
- RE: Do Windows Authentication SQL 2k5 Logins survive a sysprep?
- From: Charles Wang[MSFT]
- Do Windows Authentication SQL 2k5 Logins survive a sysprep?
- Prev by Date: Re: UNSAFE ASSEMBLY problem
- Next by Date: Re: Do Windows Authentication SQL 2k5 Logins survive a sysprep?
- Previous by thread: RE: Do Windows Authentication SQL 2k5 Logins survive a sysprep?
- Next by thread: Re: Do Windows Authentication SQL 2k5 Logins survive a sysprep?
- Index(es):
Relevant Pages
|
|