Wso2将外部LDAP上的memberUid用于组 [英] Wso2 use memberUid on external LDAP for groups
问题描述
我已将Wso2与外部LDAP连接.因此,我想处理LDAP组.但是在Wso2 doc 中指出使用:
I have connected Wso2 with an external LDAP. So, i want to handle the LDAP groups. However in Wso2 doc it states to use :
-
groupOfNames
作为我们的objectClass
和 -
member
作为我们的MembershipAttribute
groupOfNames
as ourobjectClass
andmember
as ourMembershipAttribute
但是我当前的LDAP服务器却不是这样.这意味着我使用
However my current LDAP server is not like that. This means that i use
-
PosixGroup
作为我的objectClass
和
我的 -
memberUid
MembershipAttribute
的PosixGroup
as myobjectClass
andmemberUid
for myMembershipAttribute
这使我想到,当我将用户添加到组中时,Wso2会将此值uid=b1,ou=users,dc=transip,dc=nl
放入memberUid
内.这与我的设置不兼容.我需要的是Wso2,只需将用户的uid
放在memberUid
字段中,然后该条目将与我的其余设置兼容.
This leads me to the point that , when i add a user to a group, then Wso2 goes and puts this value uid=b1,ou=users,dc=transip,dc=nl
inside memberUid
. This is not compatible with my set up. What i need is Wso2 to just put the user's uid
in the memberUid
field and then the entry will be compatible with the rest of my setup.
如何将Wso2配置为在将用户添加到组中时传递uid
而不是传递dn
(专有名称).
How can i configure Wso2 to pass the uid
when adding a user to a group instead of passing dn
(Distinguished Name).
推荐答案
同一问题已发布在 https://wso2.org/jira/browse/IDENTITY-6295 .为了实现此目的,需要编写自定义用户商店管理器,更改成员属性以仅添加uid,而添加完整的DN.
The same question has posted in https://wso2.org/jira/browse/IDENTITY-6295 as well. In order to achieve this its need to write custom user store manager, changing member attribute to add only uid, rather full DN.
这篇关于Wso2将外部LDAP上的memberUid用于组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!