Re: SQL Server 2005 Windows Authentication mapping to Logins



Why do you want to give ordinary users sysadmin privs?
That's pretty dangerous.
Anyway...you add windows users or groups as SQL Server
logins by using CREATE LOGIN. For example:
CREATE LOGIN [YourDomain\YourGroup] FROM WINDOWS
If the group is one of the built in standard groups on the
local box, you would use BUILTIN for the domain. For
example, to add the local administrators you would use:
CREATE LOGIN [BUILTIN\Administrators] FROM WINDOWS

-Sue

On Mon, 23 Oct 2006 10:46:02 -0700, Chem Finder
<ChemFinder@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I configured SQL Server 2005 Express to use Windows authentication. I want
to give ordinary users sysadmin privileges. How do you map Windows groups
to SQL Server logins? There appears to be one Login, BUILTIN\Users. Members
of the Administrators group of the machine have full access, but members of
the Power Users Groups are logged into SQL Server as 'guest.' How are
Windows Authentication logins mapped to SQL Server logins?

.



Relevant Pages

  • Re: SQL Server 2005 Login Problem
    ... There are two authentication method in SQL Server. ... 1- Windows Authentication ... Only creating Logins is not the complete solution of course, then you'll need to map those users to the appropriate databases and assign them roles and grant them permissons. ...
    (microsoft.public.sqlserver.clients)
  • Re: SQL Server 2005 Login Problem
    ... There are two authentication method in SQL Server. ... 1- Windows Authentication ... 2- Mixed Authentication (through SQL Server logins and Windows accounts) ...
    (microsoft.public.sqlserver.clients)
  • Re: Problem with SQL Server 2005 Express Edition
    ... Since you are specifying the user name and password in the connection string I assume you are using SQL Server authentication for your logins rather than Windows authentication. ... One cause for that error is trying to use a SQL Server login on a database server that is configured to only accept Windows logins. ...
    (microsoft.public.sqlserver.security)
  • Re: User who does not exist in Enterprise Manager has full access
    ... > logins in SQL Server before that user could access SQL Server, ... Windows Group from this system fixed role but have to make sure that you ... > Fred installed SQL Server and restored a backup of a database that was ...
    (microsoft.public.sqlserver.security)
  • Re: Add new users to SQL Server mdf
    ... i tried the other way by keeping "SQL SERVER ... SQL server logins aren't "Windows logins", so if you are using Windows authentication you'll have to create windows accounts, when using SQL logins you have to create SQL accounts. ...
    (microsoft.public.dotnet.languages.csharp)