[PR #555] [MERGED] Fix for Docker ldap #12076

Closed
opened 2025-12-29 22:19:30 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/555
Author: @rfdrake
Created: 9/14/2016
Status: Merged
Merged: 9/16/2016
Merged by: @jeremystretch

Base: developHead: develop


📝 Commits (2)

  • 9eec975 change ldap.py to ldap_config.py
  • 9718895 add django-auth-ldap to Dockerfile

📊 Changes

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

View changed files

📝 Dockerfile (+4 -1)
📝 netbox/netbox/settings.py (+1 -1)

📄 Description

This is a fix for issue #542.

This loads the LDAP libraries into the Dockerfile. In order to use them you will still need to create ldap_config.py with the proper values, then you can include it in docker-compose.yml.

Example:

    volumes:
    - netbox-static-files:/opt/netbox/netbox/static
    - ./netbox/netbox/ldap_config.py:/opt/netbox/netbox/netbox/ldap_config.py

🔄 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/netbox-community/netbox/pull/555 **Author:** [@rfdrake](https://github.com/rfdrake) **Created:** 9/14/2016 **Status:** ✅ Merged **Merged:** 9/16/2016 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (2) - [`9eec975`](https://github.com/netbox-community/netbox/commit/9eec975800c1f5a210a3ec85bc402b72092a3da3) change ldap.py to ldap_config.py - [`9718895`](https://github.com/netbox-community/netbox/commit/9718895ff9cbe88b16abbe56049eaddf9979c75a) add django-auth-ldap to Dockerfile ### 📊 Changes **2 files changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+4 -1) 📝 `netbox/netbox/settings.py` (+1 -1) </details> ### 📄 Description This is a fix for issue #542. This loads the LDAP libraries into the Dockerfile. In order to use them you will still need to create ldap_config.py with the proper values, then you can include it in docker-compose.yml. Example: ``` volumes: - netbox-static-files:/opt/netbox/netbox/static - ./netbox/netbox/ldap_config.py:/opt/netbox/netbox/netbox/ldap_config.py ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:19:30 +01:00
adam closed this issue 2025-12-29 22:19:30 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12076