[PR #5343] [CLOSED] Update 6-ldap.md - change ldap config example #13007

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/5343
Author: @Harrison-S1
Created: 11/12/2020
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 docs/installation/6-ldap.md (+2 -2)

📄 Description

When going through the set up I kept getting the error (from logging) "Authentication failed for USERNAME: failed to map the username to DN" I could login with the service account 'netbox' I created to bind. I changed to password of the user to match the service account and it went straight through. Looks like the bind password was being used to login and not the users password. Checked the doc on django https://django-auth-ldap.readthedocs.io/en/latest/reference.html and they have single quotes.

Fixes:


🔄 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/5343 **Author:** [@Harrison-S1](https://github.com/Harrison-S1) **Created:** 11/12/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`46ccec4`](https://github.com/netbox-community/netbox/commit/46ccec4ca4349f036ead4b33b532700462b0a3f2) Update 6-ldap.md ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/installation/6-ldap.md` (+2 -2) </details> ### 📄 Description When going through the set up I kept getting the error (from logging) "Authentication failed for USERNAME: failed to map the username to DN" I could login with the service account 'netbox' I created to bind. I changed to password of the user to match the service account and it went straight through. Looks like the bind password was being used to login and not the users password. Checked the doc on django https://django-auth-ldap.readthedocs.io/en/latest/reference.html and they have single quotes. <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: <LDAP Setup> <!-- Please include a summary of the proposed changes below. --> --- <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:24:52 +01:00
adam closed this issue 2025-12-29 22:24:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13007