[Patch] Add nss_min_gid threshold for min GIDs
[Date Prev][Date Next] [Thread Prev][Thread Next][Patch] Add nss_min_gid threshold for min GIDs
- From: CHAPUIS Bertille <bertille.chapuis [at] alstomgroup.com>
- To: "nss-pam-ldapd-users [at] lists.arthurdejong.org" <nss-pam-ldapd-users [at] lists.arthurdejong.org>
- Subject: [Patch] Add nss_min_gid threshold for min GIDs
- Date: Mon, 8 Dec 2025 08:12:42 +0000
|
RESTRICTED
Hello,
I would like to contribute to nss-pam-ldapd with a patch that introduces nss_min_gid. This option allows ignoring LDAP users and groups whose numeric GID is lower than a specified threshold.
Currently, there is no mechanism to filter LDAP groups based on a minimum GID value. This can cause issues in environments where certain ID ranges are reserved.
Your project already implements a similar option,
nss_min_uid, for user IDs. This patch extends that concept to group IDs for consistency.
Proposed Solution
Thank you for reviewing this contribution. Please let me know if any adjustments are needed.
I have attached the patch to this email. This patch was created starting from the last current commit from master branch of nss-pam-ldapd : 8ddb983a546f632986a84a784c4625110f7782a2
Best regards,
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. |
Attachment:
add_nss_min_gid_threshold_for_min_gids.patch
Description: add_nss_min_gid_threshold_for_min_gids.patch
- [Patch] Add nss_min_gid threshold for min GIDs, CHAPUIS Bertille