diff --git a/LDAP.md b/LDAP.md index 7355c35..4616cc9 100644 --- a/LDAP.md +++ b/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" ``` \ No newline at end of file