|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, September 04, 2012 12:26 AM
Points: 5,
Visits: 28
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, January 26, 2009 8:33 AM
Points: 15,
Visits: 16
|
|
Good Article, you should go to the next one, I mean allowing windows users by accessing with autentication mode. bye ;)
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, September 11, 2009 5:24 AM
Points: 5,
Visits: 26
|
|
how to create the abstract views in the sql server 2005 or 2003 is it possible to the database queries
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Thursday, May 22, 2008 2:03 PM
Points: 180,
Visits: 35
|
|
I have a question about windows authentication.
when one domain user belong to multiple windows domain group, say grp1 and grp2, and both groups are granted access to database and given different permissions. when this user logon to sqlserver, which path he got? through grp1 or grp2? how does sqlserver decide on taking which SID to authenticate the user?
thanks,
jiulu
|
|
|
|
|
Right there with Babe
      
Group: General Forum Members
Last Login: Thursday, February 14, 2013 12:01 PM
Points: 743,
Visits: 900
|
|
The article was well done, but it could use some expansion. For instance, it might be worth discussing why you would want to allow SQL Server Authentication for one thing.
--- Timothy A Wiseman SQL Blog: http://timothyawiseman.wordpress.com/
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Thursday, April 18, 2013 8:43 AM
Points: 28,
Visits: 116
|
|
Is this article from "SQL for Dummies" book? If not, we should open a sub-forum for this kind stuff.
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 4:39 PM
Points: 6,260,
Visits: 1,977
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, February 08, 2011 6:03 PM
Points: 3,
Visits: 10
|
|
| I've noticed that when I Restore a database (in my case to a different machine) that the security settings that were in place on the original database are not replicated on the restored database. In particular, the SQL Server logins do not seem to work. Does anyone know what is happening here and if there is a work around to maintain the original security settings.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Thursday, May 22, 2008 2:03 PM
Points: 180,
Visits: 35
|
|
Doug Krawec (12/18/2007) I've noticed that when I Restore a database (in my case to a different machine) that the security settings that were in place on the original database are not replicated on the restored database. In particular, the SQL Server logins do not seem to work. Does anyone know what is happening here and if there is a work around to maintain the original security settings.
doug,
the sid in master..syslogin has to be re-created on your restored server if it's not there, the db.dbo.sysusers will have the sid because it's part of the backup.
if you are using sql authentication, then you may have to update dbname.dbo.sysusers sid to match master.dbo.syslogins, because sid will be different from one server to another, but using windows authentication sid will come from windows domain or group, it will not change, it's just a matter of creating the windows group or user on the restored users.
have a look on the result of
select * from master..syslogins and select * from yourdbname..sysusers
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, February 08, 2011 6:03 PM
Points: 3,
Visits: 10
|
|
sunjiulu,
Thanks for the explanation.
Yes, I am using SQL Server login rather than Windows Authentication. We have created a SQL Login of the form "ApplicationUser" with access to the single application database. The database I'm restoring is a copy of Production which is being used on a development box.
Is there a standard script that can be used to reset this SID on the restored database to match that of the instance of the SQL Server your are restoring to? I would assume you would need to check for the existence of "ApplicationUser".
|
|
|
|