-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Jetty combined ldap #98
Conversation
hey @liamjbennett These changes are tested and they are works without any issues. I using this in production at my work. |
Hello: Not an owner of the repo, but can you resolve the conflicts in this PR? This also serves as a reminder to the owners. |
@liamjbennett c'mon, let's merge it :)
|
@rooty0 as @jyaworski commented, can you squash please? |
Looking at the change this looks fine. Happy to merge when it gets squashed. |
I'll try, didn't do squash before :) |
@nibalizer, I think I did it. Do you want me to change commit message? |
@rooty0 yes please can you rewrite the commit message to be one description of the complete change. Sorry to nitpick on procedure here. |
@nibalizer it's ok, commit message fixed. Let me know if I need to fix something else. Thanks |
} | ||
if 'active_directory_shared' in $auth_types { | ||
$_deploy_realm = true | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do all of these conditions have to be met for it to become true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@igalic sorry, I'm afraid I don't understand your question. We need to deploy realm file when "file" or/and "ldap_shared" or/and "active_directory_shared" in use . In case of "shared" approach, we still use realm file for authorization procedure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's exactly what i was asking, @rooty0.
i was just trying to think of a more puppety way of structuring that logic.
Before applying this, please see #94 and #96 as these fixes were merged to this feature branch (JettyCombinedLdap).
Since Rundeck 2.5 there is a new very useful feature: LDAP "shared authentication credentials".
see http://rundeck.org/docs/administration/authenticating-users.html#ldap for more details.
This pull request provides puppet's implementation of that feature
to activate this feature $auth_types should be assigned as
or
That means that rundeck will authenticate user with LDAP (or AD) and will perform authorization with FileLoginModule (realm file) to assign provided roles