May 2, 2017 at 2:13 pm
I'm trying to figure out how permissions issues with SQL Server. I've added an Active Directory group to a SQL Server user. I'll call the group OURDOMAIN\SomeUsers. So the definition looks like this:
CREATE USER [OURDOMAIN\SomeUsers] FOR LOGIN [OURDOMAIN\SomeUsers]
My problem is, there is no login named OURDOMAIN\SomeUsers. And yet people in that AD group can use apps that hit against the database.
Why?
Kindest Regards, Rod Connect with me on LinkedIn.
May 2, 2017 at 2:59 pm
is it possible that the SomeUsers group is a member of another group that does have a login on this instance? You can try this to see what the "permission path" is:xp_logininfo 'OURDOMAIN\SomeUsers' , 'all'
May 2, 2017 at 3:21 pm
it could also be nested permissions in Active Directory too.
So The users in [OURDOMAIN\SomeUsers] Are in [OURDOMAIN\BusinessAnalysts], and [OURDOMAIN\BusinessAnalysts] was explicitly granted access.
Lowell
May 2, 2017 at 3:35 pm
Chris Harshman - Tuesday, May 2, 2017 2:59 PMis it possible that the SomeUsers group is a member of another group that does have a login on this instance? You can try this to see what the "permission path" is:xp_logininfo 'OURDOMAIN\SomeUsers' , 'all'
That is really handy Chris, thanks! Investigating what's it gives me.
Kindest Regards, Rod Connect with me on LinkedIn.
May 2, 2017 at 3:38 pm
Lowell - Tuesday, May 2, 2017 3:20 PMit could also be nested permissions in Active Directory too.So The users in [OURDOMAIN\SomeUsers] Are in [OURDOMAIN\BusinessAnalysts], and [OURDOMAIN\BusinessAnalysts] was explicitly granted access.
Hmmm. You may have something there. The 2 users who are in the other group that works, have been around forever. Some say they stood in an open field and they built the building we work in around them. Who know how many AD groups they might be in? Guess I'll just have to spend time using AD Users and Computers to try and ferret this out.
Kindest Regards, Rod Connect with me on LinkedIn.
May 2, 2017 at 3:43 pm
Kindest Regards, Rod Connect with me on LinkedIn.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply