-
Notifications
You must be signed in to change notification settings - Fork 175
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
VM Group Access Restriction Does not Work #1981
Comments
Also, I tested out this on version 1.4 as well as on version 2.10. I have been running this on Ubuntu 22.04 LTS. Please let me know if I can provide anything else. |
Hello @frankiejol, Thank you for your prompt response and taking time to help me with this. I will make sure to attach files images to comments from next time onwards. I had to retract some of the information before submitting, so my apologies for that. Lastly, I feel so STUPID and EMBARRASED. 😢🙃 Again, thank you so much for your time and help on this matter. |
Good point, I will add some message when adding access restrictions when the base is not public. Also, you commented recently about AD issues. Honestly I can't figure out what is the problem at first glance. Could it be related to this one ? |
Thank you so much! Yes, it was relating to this issue. We have AD environment that can interact as LDAP environment as well, so we were just hoping to provide access to the VM using a specified group. |
Btw, there are two lines we added/modified in the LDAP.pm The main purpose of the code is to go through all the "dept" OU in your directory and have access to all those groups. |
ok ! I will check this code to see how can it be added with a configuration option or something like that. |
@rajpatel-msstate what about fixing this with two configuration options ?
This way I could add code to construct a proper search:
By default group_field would be cn and group_filter empty. Also, you need a different base for the groups, there is already a configuration parameter for this: groups_base. I think I will allow both "groups_base" and "group_base" and document it properly. What do you think ? |
@frankiejol As for the groups_base, in our environment it will default to base parameter in LDAP. But I do think it will help those with multiple LDAP environment in a single tree. |
Describe the bug
I have a vm that I have converted into a base. I provided "ldap group" in the "access" part of the restriction.
I wanted all the members of the group to have access to that VM. The logged-on user can just login in fine. I believe there is some sort of disconnect in checking the group membership of a user. I am attaching multiple screenshots that shows that user is not a member of any group even though it is.
Could you please look into this and give me any guidance on how to resolve this?
LDAP Successful Test for User.pdf
Group Access - for Base VM.pdf
LDAP User - Successful Login.pdf
List Users of the LDAP Group.pdf
Logged in Users shows Group Membership.pdf
Users shows no group membership on LDAP side.pdf
I have tried researching the previous issues, but I had no luck finding anything on it.
Any help or guidance provided is greatly appreciated! 😊
The text was updated successfully, but these errors were encountered: