diff options
-rw-r--r-- | conf/cacert.pem (renamed from sublab_project/cacert.pem) | 0 | ||||
-rw-r--r-- | sublab_project/settings.py | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/sublab_project/cacert.pem b/conf/cacert.pem index 3ccc18e..3ccc18e 100644 --- a/sublab_project/cacert.pem +++ b/conf/cacert.pem diff --git a/sublab_project/settings.py b/sublab_project/settings.py index 10928cb..c879044 100644 --- a/sublab_project/settings.py +++ b/sublab_project/settings.py @@ -178,7 +178,7 @@ AUTH_PROFILE_MODULE = 'accounts.UserProfile' AUTH_LDAP_SERVER_URI = 'ldap://oberon.local.sublab.org' AUTH_LDAP_START_TLS = True AUTH_LDAP_GLOBAL_OPTIONS = { - ldap.OPT_X_TLS_CACERTFILE: os.path.join(SITE_ROOT, 'cacert.pem'), + ldap.OPT_X_TLS_CACERTFILE: os.path.join(SITE_ROOT, '../conf/cacert.pem'), } AUTH_LDAP_USER_DN_TEMPLATE = 'cn=%(user)s,ou=people,dc=sublab,dc=org' AUTH_LDAP_USER_ATTR_MAP = { |