Skip to content

Commit

Permalink
add local setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Chandra Reddy authored and Chandra Reddy committed Apr 2, 2024
1 parent a67074f commit 1603a60
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions web/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,19 @@

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

# NET Domain LDAP CONFIG
LDAP_NET_HOST = 'ldaps://aka.net.ucf.edu:636'
LDAP_NET_BASE_DN = 'ou=People,dc=net,dc=ucf,dc=edu'
LDAP_NET_USER_SUFFIX = '@net.ucf.edu'
LDAP_NET_ATTR_MAP = { # LDAP Object -> User Object
'givenName': 'first_name',
'sn': 'sn',
'mail': 'email'
}
LDAP_NET_SEARCH_USER = ''
LDAP_NET_SEARCH_PASS = ''
LDAP_NET_SEARCH_SIZELIMIT = 5

try:
from settings_local import *
except ImportError:
Expand Down

0 comments on commit 1603a60

Please sign in to comment.