github / github/github-ldap

Add support for handling Active Directory member attribute with Range suffix

未關閉
#98 0 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Ruby
星號
158
分支
28
PR 合併指標
30 天內沒有已合併 PR

描述

[Depending on a `MaxValRange` setting on an Active Directory server](https://support.microsoft.com/ja-jp/kb/2009267), the server can return the `member;Range=[low]-[high]` (e.g. `member;Range=0-1499`) attribute including certain number of users instead of the `member` attribute including all users when a number of users in a group exceeds the `MaxValRange` value.

Since the filters in the [lib/github/ldap/filter.rb](https://github.com/github/github-ldap/blob/b75ef743fd68c8df51194a56a44db5c009831261/lib/github/ldap/filter.rb#L9) don't care the `member` attribute with the `Range` suffix, no users can be found.

The filter should be able to handle the `member` attribute with the `Range` suffix and also it needs to support pagination if the `Range` suffix exists.

貢獻指南

開啟貢獻指南

研究方向

從 lib/github/ldap/filter.rb 第 9 行附近開始,這裡 LDAP 篩選器目前會處理 member 屬性。重現或檢查包含 member;Range 後綴的回應,並確定應如何對範圍結果進行分頁。完成標準是能夠搜尋超過 Active Directory 的 MaxValRange 的群組,並找到所有適用的使用者。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
ruby
領域
authentication
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。