Skip to content

Fixes #38611 - Ldap group membership#641

Merged
ofedoren merged 1 commit intotheforeman:masterfrom
adamruzicka:ldap-rfc4519
Jul 23, 2025
Merged

Fixes #38611 - Ldap group membership#641
ofedoren merged 1 commit intotheforeman:masterfrom
adamruzicka:ldap-rfc4519

Conversation

@adamruzicka
Copy link
Contributor

@adamruzicka adamruzicka commented May 28, 2025

Draft until the main PR (theforeman/foreman#10527) settles

@adamruzicka adamruzicka marked this pull request as ready for review July 2, 2025 11:24
Copy link
Member

@ofedoren ofedoren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @adamruzicka, please create a RM ticket and link it to the one from Foreman so we better track the whole effort.

Some suggestions inline:

field :account, _('Account Username')
field :base_dn, _('Base DN')
field :groups_base, _('Groups base DN')
field :use_netgroups, _('Use Netgroups'), Fields::Boolean
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still present in the response, should we rather just add ldap_group_membership?

We also can mark use_netgroups as deprecated in case we're going to drop that:

field :ldap_group_membership, _('LDAP group membership')
field :use_netgroups, _('Use Netgroups'), Fields::Boolean, :replaced_by => [_('Account'), _('LDAP group membership')].join('/')

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's neat, added

@adamruzicka adamruzicka changed the title Fixes #TBFL - Ldap group membership Fixes #38611 - Ldap group membership Jul 22, 2025
Copy link
Member

@ofedoren ofedoren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @adamruzicka !

@ofedoren ofedoren merged commit 535a589 into theforeman:master Jul 23, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants