|
|
|
Keeper of the Duck
Group: Moderators
Last Login: Today @ 4:47 PM
Points: 6,584,
Visits: 1,788
|
|
Actions taken in SQL Server have no effect on the domain. If you disable a login or group in SQL Server, it only affects SQL Server. However, changes in the domain, since that is the starting point, does affect SQL Server. So if a particular account is disabled, then it will not be able to access SQL Server, either.
K. Brian Kelley, CISA, MCSE, Security+, MVP - SQL Server Regular Columnist (Security), SQLServerCentral.com Author of Introduction to SQL Server: Basic Skills for Any SQL Server User | Professional Development blog | Technical Blog | LinkedIn | Twitter
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Thursday, April 08, 2010 1:36 AM
Points: 31,
Visits: 20
|
|
I have a large number of logins that have been disabled. I would like to drop these logins and would prefer to script this. I've looked through the syslogins table and can't find an indicator which refers to whether an account is enabled/disabled. Anyone have any ideas as to where this is?
thanks.
|
|
|
|
|
Keeper of the Duck
Group: Moderators
Last Login: Today @ 4:47 PM
Points: 6,584,
Visits: 1,788
|
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Tuesday, May 07, 2013 10:43 AM
Points: 287,
Visits: 213
|
|
I am looking forward to the article on Certificate logins. I think that will go a long way towards eliminating SQL Logins for cross-platform applications.
Bryant E. Byrd, BSSE MCDBA MCAD Business Intelligence Administrator MSBI Administration Blog
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Thursday, April 25, 2013 8:57 PM
Points: 139,
Visits: 214
|
|
Hi Brian, Great article. When I read it, it reminded me of something I have never understood about windows logins.
Say I have active directory with user "U" who belongs to 2 security groups, "GrpA" and "GrpB". I create 3 windows logins on SQL Server for "U", "GrpA" and "GrpB". Now when "U" logs on to the server which login is being used? And if I drop the login for "U", the user "U" can still access the server via a group, but which one?
Thanks, Renato
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, October 29, 2012 11:24 AM
Points: 22,
Visits: 84
|
|
I enjoyed this article very much but it further exposed my ignorance.
I am not having much success working my way through security using the interface in Management Studio. I am a longtime developer that is inheritting a DBA role for a while and I am DESPERATELY searching for a n article/book/series that will help me understanding correctly scoping privileges, permissions and just what the heck some of these choices are.
I want to make sure I give the users "just the right size" permissions and fear opening things up too wide just so the few developers we have can get access.
If I can understand the "why" and "What" I think I can succeed. Any help/suggestions/guidance is appreciated.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Sunday, February 17, 2013 10:50 PM
Points: 12,
Visits: 335
|
|
Unfortunately the sys.sql_logins table does not include domain logins. Do you know how to find similar information to the sys.sql_logins information for domain accounts?
|
|
|
|
|
Keeper of the Duck
Group: Moderators
Last Login: Today @ 4:47 PM
Points: 6,584,
Visits: 1,788
|
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: Yesterday @ 6:03 AM
Points: 4,787,
Visits: 1,335
|
|
Excellent article. Thanks Brian for such a good one. :)
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Friday, February 04, 2011 7:20 AM
Points: 977,
Visits: 1,499
|
|
Great article Brian!
An application that I wrote has an interface for the app admin to create and manage users, and role memberships. It has been running on SQL 2000, but I will be migrating it this year to SQL 2005 (or maybe 2008).
Does SQL Server 2005 store any of the policy password rules locally. I'm wondering if I will be able to determine when a user's password is due to expire just by checking the availalbe SQL Server information.
Thanks,
Tom Garth Vertical Solutions
"There are three kinds of men. The one that learns by reading. The few who learn by observation. The rest of them have to pee on the electric fence for themselves." -- Will Rogers
|
|
|
|