Wso2将外部LDAP上的memberUid用于组 [英] Wso2 use memberUid on external LDAP for groups

查看:178
本文介绍了Wso2将外部LDAP上的memberUid用于组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将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 our objectClass and
  • member as our MembershipAttribute

但是我当前的LDAP服务器却不是这样.这意味着我使用

However my current LDAP server is not like that. This means that i use

  • PosixGroup作为我的objectClass
  • 我的MembershipAttribute
  • memberUid
  • PosixGroup as my objectClass and
  • memberUid for my MembershipAttribute

这使我想到,当我将用户添加到组中时,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屋!

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