mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #504] Role based access control with LDAP. #375
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GusevVictor on GitHub (Feb 17, 2015).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/504
Dear all, I have the question about role base access control to webvirtmgr.
So, I'm new in the project, and I try to setup ldap base login (I use samba4 as a my production ldap server). We LOVE OpenSource :)
I have created the following config for me (I hope it will be good for other peolpe as an expample). It is suitable for webvirtmgr v 4.8.9:
After that, you can login to webvirtmgr if you belong to kvm group.
So, my question is about:
I have seen that is doesn't matter with this settings.
Can I have some group with a poor privileged? For example access to "$vm1" or "$vm2"? Or just allow to reboot machine without destroy it, and so on?
I have an understand about hard to implement that, but maybe.
And my second question is about: How I can add my example to setup section of documentation? It is so hard for new people to setup LDAP implement in django. I think it will be good for other gays.
And my last question is about: How can I debug LDAP and other settings? I have setup in my local_settings.py without success
After that I have setup a path for log file in: gunicorn.conf.py: logfile = ... Without succes too. So I cannot see any logs in /var/log/supervisor about LDAP. So, how can I debug LDAP settings? I just use tcpdump for that now :) .
Thank for all. I hope my post will help you with a basic ldap setup.