Skip to content

Commit

Permalink
LDAP: changelog and using default local
Browse files Browse the repository at this point in the history
  • Loading branch information
vkotronis committed Mar 19, 2019
1 parent c7309a9 commit bd0e5cb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Policy dimension on hijacks (route leak detection based on no-export)
- Support for auto-cleaning unneeded BGP updates
- Automated DB backups
- Initial support for LDAP authentication

### Changed
- Testing refactoring
Expand Down
21 changes: 11 additions & 10 deletions frontend/webapp/configs/webapp.cfg
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
AUTH_METHOD = "ldap"
# AUTH_METHOD = "ldap"
AUTH_METHOD = "local"

# LDAP configuration
SECURITY_LDAP_URI = "ldap"
SECURITY_LDAP_BASE_DN = "ou=People,dc=example,dc=org"
SECURITY_LDAP_SEARCH_FILTER = "(mail={})"
SECURITY_LDAP_BIND_DN = "cn=admin,dc=example,dc=org"
SECURITY_LDAP_BIND_PASSWORD = "admin"
SECURITY_LDAP_EMAIL_FIELDNAME = "mail"
#SECURITY_LDAP_URI = "ldap"
#SECURITY_LDAP_BASE_DN = "ou=People,dc=example,dc=org"
#SECURITY_LDAP_SEARCH_FILTER = "(mail={})"
#SECURITY_LDAP_BIND_DN = "cn=admin,dc=example,dc=org"
#SECURITY_LDAP_BIND_PASSWORD = "admin"
#SECURITY_LDAP_EMAIL_FIELDNAME = "mail"

SECURITY_LDAP_ADMIN_GROUPS_FIELDNAME = "objectClass"
SECURITY_LDAP_ADMIN_GROUPS = ["top"]
#SECURITY_LDAP_ADMIN_GROUPS_FIELDNAME = "objectClass"
#SECURITY_LDAP_ADMIN_GROUPS = ["top"]

SECURITY_USER_IDENTITY_ATTRIBUTES = ['email', 'username']
#SECURITY_USER_IDENTITY_ATTRIBUTES = ['email', 'username']

0 comments on commit bd0e5cb

Please sign in to comment.