You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/development/internationalization.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ class CircuitTable(TenancyColumnsMixin, ContactsColumnMixin, NetBoxTable):
97
97
98
98
1. Ensure translation support is enabled by including `{% load i18n %}` at the top of the template.
99
99
2. Use the [`{% trans %}`](https://docs.djangoproject.com/en/stable/topics/i18n/translation/#translate-template-tag) tag (short for "translate") to wrap short strings.
100
-
3. Longer strings may be enclosed between [`{% blocktrans %}`](https://docs.djangoproject.com/en/stable/topics/i18n/translation/#blocktranslate-template-tag) and `{% endblocktrans %}` tags to improve readability and to enable variable replacement.
100
+
3. Longer strings may be enclosed between [`{% blocktrans %}`](https://docs.djangoproject.com/en/stable/topics/i18n/translation/#blocktranslate-template-tag) and `{% endblocktrans %}` tags to improve readability and to enable variable replacement. (Remember to include the `trimmed` argument to trim whitespace between the tags.)
101
101
4. Avoid passing HTML within translated strings where possible, as this can complicate the work needed of human translators to develop message maps.
102
102
103
103
```
@@ -107,7 +107,7 @@ class CircuitTable(TenancyColumnsMixin, ContactsColumnMixin, NetBoxTable):
107
107
<h5 class="card-header">{% trans "Circuit List"%}</h5>
108
108
109
109
{# A longer string with a context variable #}
110
-
{% blocktrans with count=object.circuits.count %}
110
+
{% blocktrans trimmed with count=object.circuits.count %}
111
111
There are {count} circuits. Would you like to continue?
NetBox is the leading solution for modeling and documenting modern networks. By combining the traditional disciplines of IP address management (IPAM) and datacenter infrastructure management (DCIM) with powerful APIs and extensions, NetBox provides the ideal "source of truth" to power network automation. Read on to discover why thousands of organizations worldwide put NetBox at the heart of their infrastructure.
Authentication will fail if the groups (the distinguished names) do not exist in the LDAP directory.
150
150
151
+
## Authenticating with Active Directory
152
+
153
+
Integrating Active Directory for authentication can be a bit challenging as it may require handling different login formats. This solution will allow users to log in either using their full User Principal Name (UPN) or their username alone, by filtering the DN according to either the `sAMAccountName` or the `userPrincipalName`. The following configuration options will allow your users to enter their usernames in the format `username` or `[email protected]`.
154
+
155
+
Just as before, the configuration options are defined in the file ldap_config.py. First, modify the `AUTH_LDAP_USER_SEARCH` option to match the following:
In addition, `AUTH_LDAP_USER_DN_TEMPLATE` should be set to `None` as described in the previous sections. Next, modify `AUTH_LDAP_USER_ATTR_MAP` to match the following:
166
+
167
+
```python
168
+
AUTH_LDAP_USER_ATTR_MAP= {
169
+
"username": "sAMAccountName",
170
+
"email": "mail",
171
+
"first_name": "givenName",
172
+
"last_name": "sn",
173
+
}
174
+
```
175
+
176
+
Finally, we need to add one more configuration option, `AUTH_LDAP_USER_QUERY_FIELD`. The following should be added to your LDAP configuration file:
177
+
178
+
```python
179
+
AUTH_LDAP_USER_QUERY_FIELD="username"
180
+
```
181
+
182
+
With these configuration options, your users will be able to log in either with or without the UPN suffix.
183
+
184
+
### Example Configuration
185
+
186
+
!!! info
187
+
This configuration is intended to serve as a template, but may need to be modified in accordance with your environment.
188
+
189
+
```python
190
+
import ldap
191
+
from django_auth_ldap.config import LDAPSearch, NestedGroupOfNamesType
# For more granular permissions, we can map LDAP groups to Django groups.
264
+
AUTH_LDAP_FIND_GROUP_PERMS=True
265
+
266
+
# Cache groups for one hour to reduce LDAP traffic
267
+
AUTH_LDAP_CACHE_TIMEOUT=3600
268
+
AUTH_LDAP_ALWAYS_UPDATE_USER=True
269
+
```
270
+
151
271
## Troubleshooting LDAP
152
272
153
273
`systemctl restart netbox` restarts the NetBox service, and initiates any changes made to `ldap_config.py`. If there are syntax errors present, the NetBox process will not spawn an instance, and errors should be logged to `/var/log/messages`.
Copy file name to clipboardExpand all lines: docs/installation/index.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# Installation
2
2
3
+
!!! info "NetBox Cloud"
4
+
The instructions below are for installing NetBox as a standalone, self-hosted application. For a Cloud-delivered solution, check out [NetBox Cloud](https://netboxlabs.com/netbox-cloud/) by NetBox Labs.
5
+
3
6
The installation instructions provided here have been tested to work on Ubuntu 22.04 and CentOS 8.3. The particular commands needed to install dependencies on other distributions may vary significantly. Unfortunately, this is outside the control of the NetBox maintainers. Please consult your distribution's documentation for assistance with any errors.
4
7
5
8
<iframewidth="560"height="315"src="https://www.youtube.com/embed/_y5JRiW_PLM"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"allowfullscreen></iframe>
Copy file name to clipboardExpand all lines: docs/release-notes/version-3.6.md
+31-1Lines changed: 31 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,35 @@
1
1
# NetBox v3.6
2
2
3
+
## v3.6.2 (2023-09-20)
4
+
5
+
### Enhancements
6
+
7
+
*[#13245](https://github.com/netbox-community/netbox/issues/13245) - Add interface types for QSFP112 and OSFP-RHS
8
+
*[#13563](https://github.com/netbox-community/netbox/issues/13563) - Add support for other delimiting characters when using CSV import
9
+
10
+
### Bug Fixes
11
+
12
+
*[#11209](https://github.com/netbox-community/netbox/issues/11209) - Hide available IP/VLAN listing when sorting under a parent prefix or VLAN range
13
+
*[#11617](https://github.com/netbox-community/netbox/issues/11617) - Raise validation error on the presence of an unknown CSV header during bulk import
14
+
*[#12219](https://github.com/netbox-community/netbox/issues/12219) - Fix dashboard widget heading contrast under dark mode
15
+
*[#12685](https://github.com/netbox-community/netbox/issues/12685) - Render Markdown in custom field help text on object edit forms
16
+
*[#13653](https://github.com/netbox-community/netbox/issues/13653) - Tweak color of error text to improve legibility
17
+
*[#13701](https://github.com/netbox-community/netbox/issues/13701) - Correct display of power feed legs under device view
18
+
*[#13706](https://github.com/netbox-community/netbox/issues/13706) - Restore extra filters dropdown on device interfaces list
19
+
*[#13721](https://github.com/netbox-community/netbox/issues/13721) - Filter VLAN choices by selected site (if any) when creating a prefix
20
+
*[#13727](https://github.com/netbox-community/netbox/issues/13727) - Fix exception when viewing rendered config for VM without a role assigned
21
+
*[#13745](https://github.com/netbox-community/netbox/issues/13745) - Optimize counter field migrations for large databases
22
+
*[#13756](https://github.com/netbox-community/netbox/issues/13756) - Fix exception when sorting module bay list by installed module status
23
+
*[#13757](https://github.com/netbox-community/netbox/issues/13757) - Fix RecursionError exception when assigning config context to a device type
24
+
*[#13767](https://github.com/netbox-community/netbox/issues/13767) - Fix support for comments when creating a new service via web UI
25
+
*[#13782](https://github.com/netbox-community/netbox/issues/13782) - Fix tag exclusion support for contact assignments
26
+
*[#13791](https://github.com/netbox-community/netbox/issues/13791) - Preserve whitespace in values when performing bulk rename of objects via web UI
27
+
*[#13809](https://github.com/netbox-community/netbox/issues/13809) - Avoid TypeError exception when editing active configuration with statically defined `CUSTOM_VALIDATORS`
28
+
*[#13813](https://github.com/netbox-community/netbox/issues/13813) - Fix member count for newly created virtual chassis
29
+
*[#13818](https://github.com/netbox-community/netbox/issues/13818) - Restore missing tags field on L2VPN termination edit form
30
+
31
+
---
32
+
3
33
## v3.6.1 (2023-09-06)
4
34
5
35
### Enhancements
@@ -23,7 +53,7 @@
23
53
*[#13657](https://github.com/netbox-community/netbox/issues/13657) - Fix decoding of data file content
24
54
*[#13674](https://github.com/netbox-community/netbox/issues/13674) - Fix retrieving individual report via REST API
25
55
*[#13682](https://github.com/netbox-community/netbox/issues/13682) - Fix error message returned when validation of custom field default value fails
26
-
*[#13684](https://github.com/netbox-community/netbox/issues/13684) - Enable modying the configuration when maintenance mode is enabled
56
+
*[#13684](https://github.com/netbox-community/netbox/issues/13684) - Enable modifying the configuration when maintenance mode is enabled
0 commit comments