Wso2 在外部 LDAP 上为组使用 memberUid [英] Wso2 use memberUid on external LDAP for groups

查看:44
本文介绍了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

这使我明白,当我将用户添加到组时,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天全站免登陆