访问SQL实例&听众 [英] Access to SQL Instances & Listener

查看:54
本文介绍了访问SQL实例&听众的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

x2节点SQL 2014 AlwaysOn AG

我们通过AD组以及SG内的成员为SQL登录分配了sysadmin权限.

We assigned SQL Login with sysadmin permission through a AD Group, with members within the SG.

但是,团队中只有一些成员设法访问了所有SQL实例,包括SQL侦听器.

However only some members within the team managed to access all SQL instances, including the SQL Listener. 

其他人的行为有所不同:

The others, get a different behaviour: 

错误:用户域\ ADUser Microsoft SQL Server登录失败,错误18456.

The error: Login Failed for user domain\ADUser Microsoft SQL Server, Error 18456.

但是,当我们为AD用户创建直接登录(而不是通过安全组)并通过sysadmin访问SQL时,它就可以使用!然后用户可以访问所有SQL实例,包括侦听器.

But when we create for the AD user a Login directly (instead of through the Security Group) with sysadmin access to SQL, it works! the User can then access all SQL instances, including Listener.

神秘……


推荐答案

Vivian,

Hi Vivian,

我有几个问题.

这是本地SQL Server还是Azure SQL数据库?

Is this for an on-premise SQL Server or an Azure SQL Database?

Active Directory还是Azure Active Directory?

Active Directory or Azure Active Directory?

最后,是否有这些用户中的任何一个作为AD设置的一部分进行迁移,并且添加到AD组中的每个其他用户都遇到这种情况?

And finally, did any of these users get migrated as part of AD set-up, and each additional user that is added to the AD group, is experiencing this behavior?

可能存在同步问题,但想查看是否使用了任何"Azure"组件?

There could be a sync issue but, want to see if there is any 'Azure' components being used? 


这篇关于访问SQL实例&听众的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆