Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Windows authentication only allows login with sysadmin role


Windows authentication only allows login with sysadmin role

Author
Message
sqldriver
sqldriver
SSChasing Mays
SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)

Group: General Forum Members
Points: 606 Visits: 2492
Hi,

I'm trying to set up our dev team to log in with Windows credentials, but the only security level that will allow this is sysadmin. Everything under that gets rejected, even though Connect SQL is granted. Is this normal behavior, and the only way to add users to datareader is via a SQL login? Is something gone woogy in AD?

Thanks
Beatrix Kiddo
Beatrix Kiddo
SSC Eights!
SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)

Group: General Forum Members
Points: 959 Visits: 3566
No, that's not normal. How are you doing it? (Through the GUI or by using create login [domain\user] from Windows ?)
Beatrix Kiddo
Beatrix Kiddo
SSC Eights!
SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)

Group: General Forum Members
Points: 959 Visits: 3566
(dup.)
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47343 Visits: 44392
What do you mean "Everything under that gets rejected"? What is the exact behaviour you're seeing? What errors are you getting?


Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


sqldriver
sqldriver
SSChasing Mays
SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)

Group: General Forum Members
Points: 606 Visits: 2492
GilaMonster (4/11/2014)
What do you mean "Everything under that gets rejected"? What is the exact behaviour you're seeing? What errors are you getting?


Hi,

I mean that any server role that is not sysadmin cannot login with Windows authentication. Getting generic 'could not connect' errors from SSMS and, from the error log:

exec xp_readerrorlog 0, 1, "error", "error", "20140409", "20140411"

LogDate ProcessInfo Text
2014-04-10 15:57:50.740 Logon Error: 18456, Severity: 14, State: 38.
2014-04-10 16:25:28.950 Logon Error: 18456, Severity: 14, State: 38.
2014-04-10 17:03:34.790 Logon Error: 18456, Severity: 14, State: 38.
2014-04-10 18:37:55.590 Logon Error: 18456, Severity: 14, State: 38.
2014-04-10 18:40:35.380 Logon Error: 18456, Severity: 14, State: 38.
2014-04-10 19:02:26.840 Logon Error: 18456, Severity: 14, State: 38.

To be precise, I'm on this one:

Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64)
Apr 2 2010 15:48:46
Copyright (c) Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: )

Thanks
Beatrix Kiddo
Beatrix Kiddo
SSC Eights!
SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)

Group: General Forum Members
Points: 959 Visits: 3566
As I said before, how are you creating the logins and the users?
sqldriver
sqldriver
SSChasing Mays
SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)

Group: General Forum Members
Points: 606 Visits: 2492
Beatrix Kiddo (4/11/2014)
As I said before, how are you creating the logins and the users?


Hi,

I was working on a reply for you; I wanted to test both ways. In this case I'm not sure, because the user was created before I started working here, and I've only made changes to the settings via the GUI.

Thanks
Beatrix Kiddo
Beatrix Kiddo
SSC Eights!
SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)

Group: General Forum Members
Points: 959 Visits: 3566
Intriguing. The user is mapped to a login, right?
sqldriver
sqldriver
SSChasing Mays
SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)SSChasing Mays (606 reputation)

Group: General Forum Members
Points: 606 Visits: 2492
Beatrix Kiddo (4/11/2014)
Intriguing. The user is mapped to a login, right?


Yep. They've been logging in under the sysadmin role for a long time. It's only when I change to anything from bulkadmin to setupadmin that they can't. This behavior doesn't crop up when using SQL logins, though.
Beatrix Kiddo
Beatrix Kiddo
SSC Eights!
SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)

Group: General Forum Members
Points: 959 Visits: 3566
No, a login, not a role. I'm trying to think how to phrase this;
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search