mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Update ldap.md
Wrap code in code block
This commit is contained in:
parent
1ec09270a7
commit
d0649ba815
@ -113,7 +113,10 @@ AUTH_LDAP_GROUP_CACHE_TIMEOUT = 3600
|
|||||||
|
|
||||||
!!! info
|
!!! info
|
||||||
It is also possible map user attributes to Django attributes:
|
It is also possible map user attributes to Django attributes:
|
||||||
|
|
||||||
|
```no-highlight
|
||||||
AUTH_LDAP_USER_ATTR_MAP = {
|
AUTH_LDAP_USER_ATTR_MAP = {
|
||||||
"first_name": "givenName",
|
"first_name": "givenName",
|
||||||
"last_name": "sn"
|
"last_name": "sn"
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user