简体   繁体   English

WSO2 Identity Server 5.11.0 我的帐户个人信息不适用于 Active Directory 用户存储

[英]WSO2 Identity Server 5.11.0 My Account personal info not working with Active Directory userstore

I am operating a WSO2 identity server 5.11.0 behind an Apache proxy with a Samba based Active Directory user store.我正在使用基于 Samba 的 Active Directory 用户存储的 Apache 代理运行 WSO2 身份服务器 5.11.0。 The most relevant claims have been mapped to the local claim dialect.最相关的声明已映射到当地的声明方言。 The authentication to services works and the claim attributes are also transmitted properly to the mod_auth_openidc of the Apache server.对服务的身份验证有效,并且声明属性也正确传输到 Apache 服务器的 mod_auth_openidc。

However, when entering the myaccount url, login works properly to the personal space.但是,当输入 myaccount url 时,可以正常登录到个人空间。 But no user attributes are shown in the personal info section for users that are stored in the AD userstore.但是对于存储在 AD 用户存储中的用户,个人信息部分中不会显示任何用户属性。 For users in the primary store it works well.对于主要商店的用户来说,它运作良好。 Thus, I don't think it belongs to the proxy setup.因此,我认为它不属于代理设置。

Looking at the http requests, the scim2 api call is failing:查看 http 请求,scim2 api 调用失败:

https://server.at.domain/scim2/Me?attributes=urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.isReadOnlyUser

The response is回应是

{"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"detail":"No such user exist","status":"404"}

Does anybody know this problem?有人知道这个问题吗?

Finally I could solve the problem.最后我可以解决问题。 The error message is quite misleading.该错误消息非常具有误导性。 A very essential attribute of the SCIM 2.0 profile is the attribute urn:ietf:params:scim:schemas:core:2.0:id, which is mapped by default to the local claim http://wso2.org/claims/userid . SCIM 2.0 配置文件的一个非常重要的属性是属性 urn:ietf:params:scim:schemas:core:2.0:id,它默认映射到本地声明http://wso2.org/claims/userid I did not map this claim to an ldap attribute.我没有 map 对 ldap 属性的声明。 After mapping simply to objectGUID, the personal info appeared in the myaccount url.简单映射到 objectGUID 后,个人信息出现在 myaccount url 中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM