Fixed typo, added syntax highlighting

Tomasz Durda 2020-06-08 18:41:20 +02:00
parent 8374fd9a7e
commit be304fdbcd

12
LDAP.md

@ -8,7 +8,7 @@ Among others you can use *docker-compose.override.yml* to inject necessary varia
### Example override file for Active Directory
```
```yml
version: '3.4'
services:
netbox:
@ -29,7 +29,7 @@ services:
**NOTE**: Currently, there are reported issues associated with OpenLDAP support
```
```yml
version: '3.4'
services:
netbox:
@ -43,9 +43,9 @@ services:
AUTH_LDAP_REQUIRE_GROUP_DN: "cn=netbox" # or "cn=netbox,ou=groups,dc=domain,dc=com"
AUTH_LDAP_IS_ADMIN_DN: "cn=donkey,ou=people,dc=domain,dc=com"
AUTH_LDAP_IS_SUPERUSER_DN: "cn=shrek,ou=people,dc=domain,dc=com"
AUTH_LDAP_USER_SEARCH_ATTR = "cn"
AUTH_LDAP_GROUP_SEARCH_CLASS = "groupOfUniqueNames"
AUTH_LDAP_ATTR_LASTNAME = "sn"
AUTH_LDAP_ATTR_FIRSTNAME = "givenName"
AUTH_LDAP_USER_SEARCH_ATTR: "cn"
AUTH_LDAP_GROUP_SEARCH_CLASS: "groupOfUniqueNames"
AUTH_LDAP_ATTR_LASTNAME: "sn"
AUTH_LDAP_ATTR_FIRSTNAME: "givenName"
LDAP_IGNORE_CERT_ERRORS: "false"
```