[PR #443] [MERGED] LDAP Integration ( https://github.com/retspen/webvirtcloud/issues/243 ) #558

Closed
opened 2026-02-27 15:59:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/retspen/webvirtcloud/pull/443
Author: @kendarorg
Created: 5/28/2021
Status: Merged
Merged: 6/2/2021
Merged by: @catborise

Base: masterHead: master


📝 Commits (10+)

📊 Changes

5 files changed (+183 additions, -2 deletions)

View changed files

📝 Dockerfile (+3 -0)
📝 README.md (+44 -2)
📝 conf/requirements.txt (+1 -0)
webvirtcloud/ldapbackend.py (+113 -0)
📝 webvirtcloud/settings.py.template (+22 -0)

📄 Description

LDAP enabled version, tested with the following docker compose

Docker compose for ldap+admin
version: '2' services: openldap: image: osixia/openldap container_name: openldap environment: LDAP_ORGANISATION: kendar LDAP_DOMAIN: kendar.org LDAP_ADMIN_PASSWORD: secret LDAP_TLS: 'false' ports: - 389:389 - 636:636 volumes: - /mnt/data/apps/ldap/database:/var/lib/ldap - /mnt/data/apps/ldap/config:/etc/ldap/slapd.d restart: unless-stopped phpldapadmin: image: osixia/phpldapadmin container_name: phpldapadmin environment: PHPLDAPADMIN_LDAP_HOSTS: openldap PHPLDAPADMIN_HTTPS: 'false' ports: - 13000:80 depends_on: - openldap restart: unless-stopped openldapbackup: container_name: openldapbackup image: osixia/openldap-backup volumes: - /mnt/data/apps/ldap/backup:/data/backup depends_on: - openldap restart: unless-stopped


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/retspen/webvirtcloud/pull/443 **Author:** [@kendarorg](https://github.com/kendarorg) **Created:** 5/28/2021 **Status:** ✅ Merged **Merged:** 6/2/2021 **Merged by:** [@catborise](https://github.com/catborise) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`0b7e334`](https://github.com/retspen/webvirtcloud/commit/0b7e334dadeca70cd8b901d25dda61ccd7abb2df) Added ldap support - [`418a563`](https://github.com/retspen/webvirtcloud/commit/418a563ba859fa0e6a1f1a5d8ec0ed5f78403c13) Update - [`5575947`](https://github.com/retspen/webvirtcloud/commit/557594769d261254ec4997a55428368211fca268) Added logging - [`50c1bc4`](https://github.com/retspen/webvirtcloud/commit/50c1bc4b29a4a931feaa05fd3b7d4d3b085de207) Update - [`2adc966`](https://github.com/retspen/webvirtcloud/commit/2adc9663576fe29be4e066c4d637e64a98259641) Working - [`5ff7a73`](https://github.com/retspen/webvirtcloud/commit/5ff7a73335f8a07cb96000f2876638cc35a859f6) Working - [`306c4db`](https://github.com/retspen/webvirtcloud/commit/306c4db3cd9272d4252d0858035001e514976e92) Working - [`881852a`](https://github.com/retspen/webvirtcloud/commit/881852af0578f4f38ccbcbd7ef9b0c8d5f23e167) Working - [`b761fac`](https://github.com/retspen/webvirtcloud/commit/b761faccecf213264864c5e396dd929410148b4e) Check for ldap3 existence - [`53d886f`](https://github.com/retspen/webvirtcloud/commit/53d886fc5a3d32a58ee30905ea9ae1d929b891c1) Check for ldap3 existence ### 📊 Changes **5 files changed** (+183 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+3 -0) 📝 `README.md` (+44 -2) 📝 `conf/requirements.txt` (+1 -0) ➕ `webvirtcloud/ldapbackend.py` (+113 -0) 📝 `webvirtcloud/settings.py.template` (+22 -0) </details> ### 📄 Description LDAP enabled version, tested with the following docker compose Docker compose for ldap+admin `version: '2' services: openldap: image: osixia/openldap container_name: openldap environment: LDAP_ORGANISATION: kendar LDAP_DOMAIN: kendar.org LDAP_ADMIN_PASSWORD: secret LDAP_TLS: 'false' ports: - 389:389 - 636:636 volumes: - /mnt/data/apps/ldap/database:/var/lib/ldap - /mnt/data/apps/ldap/config:/etc/ldap/slapd.d restart: unless-stopped phpldapadmin: image: osixia/phpldapadmin container_name: phpldapadmin environment: PHPLDAPADMIN_LDAP_HOSTS: openldap PHPLDAPADMIN_HTTPS: 'false' ports: - 13000:80 depends_on: - openldap restart: unless-stopped openldapbackup: container_name: openldapbackup image: osixia/openldap-backup volumes: - /mnt/data/apps/ldap/backup:/data/backup depends_on: - openldap restart: unless-stopped ` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 15:59:10 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#558
No description provided.