simplesamlphp / simplesamlphp/simplesamlphp-module-ldap
Have ldap:AttributeAddUsersGroups support ldap:LdapMulti
还没有人认领这个 Issue。
- 主要语言
- PHP
- 星标
- 5
- 派生
- 14
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi, I noted that in the docs for ldap:AttributeAddUsersGroups, it is clearly stated:
Note: ldap:LdapMulti is not supported as the SimpleSAMLphp framework does not pass any information about which LDAP source the user selected.
And I understand that if you do have multiple LDAP instances, you can place your ldap:AttributeAddUsersGroups configuration in the service provider metadata and in that way control which LDAP instance is queried for groups when a user attempts to access a particular service.
But I do wonder if there is any appetite for adding support for ldap:LdapMulti? So that with ldap:AttributeAddUsersGroups configuration in the IdP metadata, groups will be queried from the authentication source (organisation) the user selected?
I'd be very happy to work on this if anyone feels it would be a useful feature to add.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 docs/ldap.md 和 ldap:AttributeAddUsersGroups 部分开始,以了解已记录的限制。然后追踪 IdP 元数据和所选身份验证源是如何表示的,因为该 issue 指出了缺少框架信息,但没有提供实现入口或测试。完成这项工作需要达成一致的设计、支持 ldap:LdapMulti,并更新文档。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- authentication
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100