MSSQL Windows Authentication Permissions on Win2k3 SBS

Ive got a Windows 2k3 SBS with MSSQL on it with Windows Authentication enabled.  There is a database which programA uses and it all works correctly.  ProgramA uses individual windows auth to connect to the db and has its own internal security permissions for users built in to the app/db.

4 out of 5 users can access the DB fine using win auth and the program has no issues, the 5th users cannot.  4 users are a member of Domain Admins, the 5th is not.

How can I tell MSSQL to allow Domain Users to access the DB's/SQL Server?
sc230Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Faiga DiegelSr Database EngineerCommented:
USE Master
GO
CREATE LOGIN [DomainName\UserAccount]
FROM WINDOWS
WITH DEFAULT_DATABASE = [databaseName]
,DEFAULT_LANGUAGE = [us_english]
GO

USE [DatabaseName]
GO
CREATE USER [DomainName\UserAccount]
FOR LOGIN [DomainName\UserAccount]
WITH DEFAULT_SCHEMA = [dbo]
GO

--then enroll role membership

USE [databasename]
GO
EXEC sp_addrolemember 'sysadmin', [DomainName\UserAccount]

Plan how to set database roles and memebership.

http://msdn2.microsoft.com/en-us/library/ms189612.aspx
http://msdn2.microsoft.com/en-us/library/ms189121.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.