Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL server Windows Authentication is Broken

Status
Not open for further replies.

Indika

Programmer
Jul 31, 2000
13
US
I have a SQL server 2000 with ONLY windows authentication is enabled.

Domain Users are part of the public role and a custom database role that has permissions only for few tables.

For some reason SQL server allows ALL Domain users to have Admin RIGHTS on the server.

Anyone has any suggestions to fix this problem? Thanks
 
Are you positive they have ADMIN rights?

Do your users have DOMAIN ADMIN rights for the domain (not on SQL Server, but on the domain itself)?

What are they doing that makes you believe they have admin rights?

-SQLBill



Posting advice: FAQ481-4875
 
Domain users do not have admin rights in the domain. They are able to create users, create DTS packages, run jobs, modify tables, etc on SQL server. I tried assigning different roles like “db_datareader”, db_datawriter”, etc, but nothing seems to work.
 
It sounds like they have been given db_owner permissions. Check their login permissions and make sure db_owner is not granted.

Don't just check the permissions on the ROLE you created but also on the individual logins.

-SQLBill

Posting advice: FAQ481-4875
 
I haven’t given permissions to individual users. “Domain Users” group do not have any permissions other than they are part of the “public” and one custom database role which allows access to few tables.
 
Check the Administrators group on the local machine. By default the local admin group has sysadmin privileges to SQL Server - check that the Domain Users group has not been added to the local admin group.

--James
 
domain users" group is not added to any local groups other than local "users" group

local "users" group doesn't have permissions to sql server
 
OK, these users must be getting their permissions from somewhere!

Check the System Administrators fixed server role and look at which logins are members of this.

How are the domain users gaining access to SQL Server? Have you actually granted the Domain Users group access? If so, look at the properties and see which Server Roles it is a member of?

--James
 
Also, check that 'custom role' you created. Check what permissions have been given on the Server Role tab and the Database Role tab.

-SQLBill

Posting advice: FAQ481-4875
 
HI,
also make sure Public role is still public someone hasn't alter its permissions.

B.R,
miq
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top