Skip to content
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

auth_to_local should allow array values #24

Closed
riton opened this issue Jun 12, 2019 · 0 comments
Closed

auth_to_local should allow array values #24

riton opened this issue Jun 12, 2019 · 0 comments
Assignees
Labels

Comments

@riton
Copy link
Member

riton commented Jun 12, 2019

As described in man krb5.conf, such configuration should be possible:

[realms]
ATHENA.MIT.EDU = {
  auth_to_local = RULE:[2:$1](johndoe)s/^.*$/guest/
  auth_to_local = RULE:[2:$1;$2](^.*;admin$)s/;admin$//
  auth_to_local = RULE:[2:$2](^.*;root)s/^.*$/root/
  auto_to_local = DEFAULT
}

Currently, such configuration is impossible since auth_to_local does not support array values.

@riton riton self-assigned this Jun 12, 2019
@riton riton added the bug label Jun 12, 2019
riton added a commit that referenced this issue Jun 12, 2019
@riton riton closed this as completed in 199666c Jun 12, 2019
riton added a commit that referenced this issue Jun 12, 2019
* Fixes #24
* Add support for array values in realm auth_to_local param
riton added a commit that referenced this issue Jun 12, 2019
Fixes #24 - Add Array support for realm auth_to_local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant