Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Have ldap:AttributeAddUsersGroups support ldap:LdapMulti

未关闭
#80 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
php

调研方向

从 docs/ldap.md 和 ldap:AttributeAddUsersGroups 部分开始,以了解已记录的限制。然后追踪 IdP 元数据和所选身份验证源是如何表示的,因为该 issue 指出了缺少框架信息,但没有提供实现入口或测试。完成这项工作需要达成一致的设计、支持 ldap:LdapMulti,并更新文档。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
PHP
星标
5
派生
14
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

simplesamlphp/simplesamlphp-module-ldap 的其他 Issue

查看 simplesamlphp/simplesamlphp-module-ldap 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。