mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 23:55:57 +03:00
[GH-ISSUE #109] Improvement: LDAP-Authentification #92
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 @dennobaby on GitHub (Sep 5, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/109
Hi,
it would be nice to have LDAP-Authentification for WebVirtMgr. We use a big ApacheDS-Directory for authentification on other Services, only WebVirtMgr needs extra Accounts.
Maybe you will implement this in future versions?
Thanks!
@retspen commented on GitHub (Sep 6, 2013):
Auth for all users, maybe login can only for admins account?
@dennobaby commented on GitHub (Sep 9, 2013):
For example we have a LDAP-Group "admins". It would be nice, if the users in this group could login in to webvirtmgr. It is not necessary to have different UIs for the users/groups. Just authentification for a LDAP-Group so we have not to create every user who should have access to webvirtmgr twice or give them all the same credentials.
@kokel commented on GitHub (Oct 30, 2013):
+1 for this feature!
@jmarceno commented on GitHub (Feb 28, 2014):
+1 This feature.
@dennobaby commented on GitHub (Mar 1, 2014):
@CamJGaming: maybe YOU don't need this! May other people need something like that. be objective and unbiased, please!
@dapak commented on GitHub (Mar 1, 2014):
Another +1 for this feature.
@hogarth-sv commented on GitHub (Mar 31, 2014):
Login based ldap can be added fairly simply ...
First install django-auth-ldap on the system via your preferred method (pip or pyp2rpm and build and RPM to install or similar) and then add to settings.py as follows:
In this example LDAPS is required to encrypt the login to the LDAP server - make sure the CA cert (or the LDAP SSL cert) is considered valid by your system when using this method. If SSL verification is not required then set the options to allow self certs as required:
http://python-ldap.org/doc/html/ldap.html#tls-options
The two groups listed in the is_active list is the groups that can log into (and change since the app currently only checks is_authenticated and not permissions) webvirtmgr with the second group also having permissions in the django admin interface (if you have enabled it).
There's further information at the django ldap auth site if you need it:
http://pythonhosted.org/django-auth-ldap/
@retspen commented on GitHub (Apr 15, 2014):
https://github.com/retspen/webvirtmgr/wiki/Enable-LDAP
@dennobaby commented on GitHub (Apr 15, 2014):
Nice :) I will test it today and report!
@dennobaby commented on GitHub (Apr 15, 2014):
Hi,
in the settings.py is the line "import ldap" also required!
By the way, i use PosixGroup. If someone needs an example: