github / github/github-ldap

Add support for handling Active Directory member attribute with Range suffix

オープン
#98 コメント 0 件 リアクション 4 件 担当者 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 を短くまとめたダイジェスト。