-
Notifications
You must be signed in to change notification settings - Fork 928
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
Make the "required role" in web.xml configurable #590
Comments
I agree, this should be optional/configurable. I use LDAP and I had to create a group only for rundeck. |
If I start rundeck with --skipinstall I am able to override the name of the default group. But, at least, this kind of error should be signaled better |
fyi: I added this FAQ entry on how to configure the web.xml required role if necessary: https://github.com/dtolabs/rundeck/wiki/Faq#i-get-an-error-logging-in-http-error-403--reason-role |
I also use ldap and do not want to create an extra group for rundeck. please make this optional (configurable) |
Any chance this is going to get fixed in the near future? |
Thanks for posting a work-around in the FAQ. I would also be grateful if this could be optional. |
+1 on this |
Sorry - i zapped my previous comment - the web.xml workaround was fine - it's just our AD setup is rather strange, and i had to use a different "base" group. Still +1 to make this easier! :) |
+1 on eliminating it |
+1 |
2 similar comments
+1 |
+1 |
I used to auth against AD with 1.4.4 and it worked fine. I'm migrating to 2.1 and I get this problem, this is clearly a regression. Can you make it optional? |
any update on that? |
+1 |
1 similar comment
+1 |
Same here. Either that role name should be optional or else provide the same setup mechanism that was default in RunDeck 1.6.x. I've not been able to find it specifically, but I know we didn't have to do anything special to set/change that role name to get LDAP to work. |
+1 |
in 2.2.0 we added a change that allows a "supplementalRole" to be set for your LDAP jaas config, which can be used to sidestep this issue. http://rundeck.org/docs/administration/authenticating-users.html#login-module-configuration |
Does the "supplementalRole" feature allow for special characters like spaces and stars (i.e. supplementalRole="Everyone - Office")? I can't seem to make this work. I would like to spin up the launcher version in our Production environment, but this issue is keeping me from deploying since I cannot properly set "--skipinstall" from the RDECK_JVM properties so that I may continue to use the server/sbin/rundeckd script to start|stop. |
@Bigd271 you would have to alter the server/sbin/rundeckd to add --skipinstall in the supplementalRoles allow spaces, however it does a split on |
thank you @gschueler. I have chosen to go the route of installing the RPM. I've then changed the default seucrity role in the web.xml to be the "Everyone - Office" distrobution list. Our ops team is very excited to use this product. Thanks again! |
Can this role requirement be turned off entirely? |
👍 Any news on this? After 2 days, I am still unable to finish the LDAP configuration step, which usually takes only few minutes on other services. |
Getting ready to do an update, remembered that I had an unexpected downtime after the last one, found this issue to remind me what to do. We're approaching the 2-year mark on this issue, any news on the state of things? |
@joerocklin good question, the status of this issue is: we don't have any immediate plans for a "fix". Reasons:
|
rundeck/rundeck#590 Former-commit-id: 734e548 Former-commit-id: 88f10d38b1a97ab69352fa71cec0a0971e901220 [formerly ccb09254e59e69e95a5665281513cd9fb75681a9] [formerly 53171cb2283e3bd0b5ea31b8f600817b39cf39f2 [formerly b1e82e5]] Former-commit-id: aeaddd3bf57e391ad78f26491614a50076c9083f [formerly 68c9af570008e43bdcb5162d1b93ae45ef705896] Former-commit-id: f900bb819ac6c10017718b827e2361e1e422bc12
Did this discussion die out again? It would be nice to get a better error message when you don't have access to rundeck. The roles rundeck is able to see in my setup is also everything except the The message you get about not having access to any projects is by far good enough as a default |
+1 Being able to set ACL based on the AD group needs better documentation. I've been at this for a week now 😢 |
+1 for better documentation, supplementalRoles option works great but you should be aware that you need to put "user, <other_groups>". |
rundeck/rundeck#590 Former-commit-id: 734e548 Former-commit-id: 88f10d38b1a97ab69352fa71cec0a0971e901220 [formerly ccb09254e59e69e95a5665281513cd9fb75681a9] [formerly 53171cb2283e3bd0b5ea31b8f600817b39cf39f2 [formerly cc0212f [formerly b1e82e5]]] Former-commit-id: aeaddd3bf57e391ad78f26491614a50076c9083f [formerly 68c9af570008e43bdcb5162d1b93ae45ef705896] Former-commit-id: f900bb819ac6c10017718b827e2361e1e422bc12 Former-commit-id: 6f1f54a
rundeck/rundeck#590 Former-commit-id: 734e548 Former-commit-id: 8d560e7
Fixed in Rundeck 3.0.0 |
@sjrd218 care to explain or link to a doc about the fix? |
A colleague of mine pointed out that this is in the release notes: https://rundeck.org/news/2018/07/27/rundeck-3.0.0.html
|
Rundeck 3.x is built on top of Grails 3.x which removed the web.xml file altogether from the deployment artifact. This means there won't be a web.xml file you can edit. Additionally Rundeck 3.x now uses Spring Security to secure the application. With this change there is no longer a 'required role' that must be configured for Rundeck. If you were previously using the tomcat-users.xml file to manage users, you will want to migrate to use one of the JAAS options documented here: https://rundeck.org/docs/administration/security/authenticating-users.html#jetty-and-jaas-authentication. You can ignore the fact that it is labeled 'Jetty and JAAS authentication' because JAAS authentication will work for any container. |
The "role" thats required to exist on all users who log into Rundeck should be configurable, rather than being hard-coded to "user". Frankly, it should also be optional...
The text was updated successfully, but these errors were encountered: