mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 18:08:38 -06:00
Update 6-ldap.md
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.
This commit is contained in:
parent
8ba50d0cf2
commit
46ccec4ca4
@ -61,8 +61,8 @@ AUTH_LDAP_CONNECTION_OPTIONS = {
|
||||
}
|
||||
|
||||
# Set the DN and password for the NetBox service account.
|
||||
AUTH_LDAP_BIND_DN = "CN=NETBOXSA, OU=Service Accounts,DC=example,DC=com"
|
||||
AUTH_LDAP_BIND_PASSWORD = "demo"
|
||||
AUTH_LDAP_BIND_DN = 'CN=NETBOXSA, OU=Service Accounts,DC=example,DC=com'
|
||||
AUTH_LDAP_BIND_PASSWORD = 'demo'
|
||||
|
||||
# Include this setting if you want to ignore certificate errors. This might be needed to accept a self-signed cert.
|
||||
# Note that this is a NetBox-specific setting which sets:
|
||||
|
Loading…
Reference in New Issue
Block a user