Skip to content

Add support for unconstrained delegation, constrained delegation, and auth_gss_authorized_principal_regex #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Oct 30, 2021

Conversation

medinski94
Copy link
Contributor

@medinski94 medinski94 commented Jul 7, 2020

Implemented support for delegation (unconstrained and constrained) and authorizing principals using a regex pattern. README.md has been changed to document these new features.

Authorizing principals using a regex pattern can be enabled using the auth_gss_authorized_principal_regex directive.

Unconstrained delegation can be enabled using the auth_gss_delegate_credentials directive. Constrained delegation (S4U2proxy) can be enabled using the auth_gss_constrained_delegation directive. Constrained delegation is currently only supported using the negotiate authentication scheme.

These new features has only been tested using MIT Kerberos. Use at your own risk if using Heimdal Kerberos. Both unconstrained and constrained delegation has been tested for concurrency.

@medinski94 medinski94 changed the title Add regex support to auth_gss_authorized_principal Add support for unconstrained delegation, constrained delegation, and auth_gss_authorized_principal_regex Aug 13, 2020
@medinski94
Copy link
Contributor Author

Sorry, this breaks functionality when regex is disabled. I can’t accept in its current form.

Should be fixed now.

@ABOB069
Copy link

ABOB069 commented Oct 21, 2021

Hi @medinski94 , can you please help with more details how to use the delegation?

@stnoonan stnoonan merged commit 467b2a3 into stnoonan:master Oct 30, 2021
@arturslogins
Copy link

Constrained dele

Hi @medinski94 , can you please help with more details how to use the delegation?

Yes, this would be nice to see

@JoshuaLyle
Copy link

Is there just a basic example of specifying all users for a group for auth_gss_authorized_principal_regex? The following example for any user for a certain groupname doesn't seem to work

auth_gss_authorized_principal_regex ^(.*)/(groupname)@.*$

@crpb crpb mentioned this pull request Aug 3, 2022
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.

5 participants