Re: Domain group members cannot connect [SQL Server 2k5 Workgroup Ed.]



Is the server that SQL is on joined to the domain?


Jim Kilmer wrote:
We have a brand new out-of-the-box SQL Server 2005 Workgroup Edition install.

We are using Windows Authentication, and have created SQL logins for about
40 different groups on our domain. We've given those logins the appropriate
permissions on the databases they're supposed to be able to access.

The problem is that when users try to connect to the SQL server, they cannot
connect. An error 18456 is thrown, and logged in the Application event log
stating "Login failed for user OURDOMAIN\theuser" (example values). The
user is properly a member of group added as a login to SQL Server, and we've
confirmed that there are not conflicting permissions that would deny those
users access via another route.

This is only a problem for domain-based groups. If we create a local group
on the SQL server machine, through Computer Management -> Local Users and
Groups, then make the same users a member of THAT group, and finally then
follow the same process to add that local group to SQL Server Logins and set
the database privileges, it works!!

Our group memberships change frequently, and are used for a lot more than
just SQL server permissions. So, using local groups and maintaining
membership in both places is not really feasible. Any ideas why a local
machine group containing domain user accounts would work fine, but a domain
group containing the same accounts would not?

Thanks in advance.
~Jim

.



Relevant Pages

  • RE: SQL logins logged where
    ... I read that Profiler does not have to run in order to SQL ... Trace to capture logins and other events. ... >Enable SQL Server auditing for successfull and failed ... >security event under Security Audit for Login Failed. ...
    (microsoft.public.sqlserver.security)
  • Re: How do determine who is the owner of an object?
    ... ths sys schema was introduced in SQL 2005 - aren't we were talking about SQL 2000 here? ... The TEST database will still to be owned by your Windows account. ... If I logon to my local machine that is running SQL Server 2000 as administrator, and then logon to SQL Server using Windows Authentication I am a member of the sysadmin server role even though I don't have a SQL Server login explicitly created for Administrator. ... logins do not own database objects directly. ...
    (microsoft.public.sqlserver.security)
  • Re: SQL Login Transfers
    ... Windows logins work with no problem with this method, ... I did use Method 2 and ran without problem on SQL 2000 box ... I tried to make a simple ODBC connection and picked [Fome Microsoft ODBC ... SQL Server native client 10 and it failed, went back and tried just the ...
    (microsoft.public.sqlserver.security)
  • Re: DBA dissappointed in sql server 2005
    ... That's for NT logins only though. ... SQL Server MVP ... > going down to mangement and then sql server agent and then jobs looking at ...
    (microsoft.public.sqlserver.server)
  • Re: Access 2007->SQL Server2005 "connection was forcibly closed",G
    ... I moved every table I was able to move to the SQL ... closed connections - but all of these errors are in the version which used ... the SQL Server 2000 and everything worked ... communication between ODBC (OLEDB and Native Client, ...
    (microsoft.public.sqlserver.connect)