【问题标题】:Problems with Active Directory and WSO2 Identity Server Secondary User StoreActive Directory 和 WSO2 身份服务器辅助用户存储的问题
【发布时间】:2013-10-17 15:32:31
【问题描述】:

我正在尝试将 WSO2 身份服务器与 Active Dictory 一起使用...

当我转到Management Monsole -> Configure -> Users and Roles -> Users... 时,一切似乎都连接正常...列出了所有用户,我也可以看到没有问题的组。我分配了一个对 WSO2 具有完全权限的组。这也不是太难。

但是当我尝试与该组中的用户闲逛时,我不能...我尝试了域和用户名的几种排列。

用户名@域

TID: [0] [IS] [2013-10-10 09:22:41,468] 警告 {org.wso2.carbon.core.util.AnonymousSessionUtil} - 检索失败 无效域的领域: {org.wso2.carbon.core.util.AnonymousSessionUtil} TID:[0] [IS] [2013-10-10 09:22:41,468] 警告 {org.wso2.carbon.identity.application.authenticator.basicauth.BasicAuthenticator} - 领域创建失败。租户可能不活动或无效。 {org.wso2.carbon.identity.application.authenticator.basicauth.BasicAuthenticator}

域\用户名

TID: [0] [IS] [2013-10-10 09:37:43,735] 错误 {org.apache.directory.shared.ldap.codec.LdapMessageGrammar} - 给定的 DN 不正确:uid=domain\username,ou=Users,dc=wso2,dc=org 意外令牌:b {org.apache.directory.shared.ldap.codec.LdapMessageGrammar} TID:[0] [IS] [2013-10-10 09:37:43,735] 错误 {org.apache.directory.shared.ldap.codec.LdapMessageGrammar} - 给定的 DN 不正确:uid=domain\username,ou=Users,dc=wso2,dc=org 意外令牌:b {org.apache.directory.shared.ldap.codec.LdapMessageGrammar}

似乎没有任何效果...有什么想法吗?

【问题讨论】:

  • 欢迎来到 Stack Overflow!请注意,标签是独立的。结合activedirectory 与标签active-directory 的含义不同。您还可以使用帖子/编辑框右上角的橙色大问号查看格式指南。

标签: active-directory wso2


【解决方案1】:

我假设您使用的是最新版本的 Identity Server 4.5.0。我猜您在这里将用户的用户存储域称为“用户名@域”。如果是这样,则不需要。无论用户存储什么,用户居住在哪里,用户都不必指定它。此语法“username@domain”用于将用户视为属于“域”租户的 mutitenancy。

所以请尝试只使用用户名 - “用户名”。用户显然不知道他们存储在哪个用户商店,这是系统设计的一个细节。

【讨论】:

  • 感谢您的帮助...我只尝试了用户名,但我无法登录,但它在 wso2carbon.log 中记录了任何类型的错误...我在哪里寻找与身份验证相关的问题?谢谢!
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多