Browse Source

Suppression of ldap settings in default settings

release-2.9
chapeau 4 years ago
committed by Gabriel Detraz
parent
commit
e3b7ffd8d2
  1. 2
      re2o/settings.py
  2. 9
      re2o/settings_default.py

2
re2o/settings.py

@ -38,7 +38,7 @@ from __future__ import unicode_literals
import os
from .settings_default import *
try:
from settings_local import *
from .settings_local import *
except ImportError:
pass
from django.utils.translation import ugettext_lazy as _

9
re2o/settings_default.py

@ -48,15 +48,6 @@ SESSION_COOKIE_AGE = 60 * 60 * 3
# The path where your organization logo is stored
LOGO_PATH = "static_files/logo.png"
# Settings of the LDAP structure
LDAP = {
"base_user_dn": "cn=Utilisateurs,dc=example,dc=net",
"base_userservice_dn": "ou=service-users,dc=example,dc=net",
"base_usergroup_dn": "ou=posix,ou=groups,dc=example,dc=net",
"base_userservicegroup_dn": "ou=services,ou=groups,dc=example,dc=net",
"user_gid": 500,
}
# A range of UID to use. Used in linux environement
UID_RANGES = {"users": [21001, 30000], "service-users": [20000, 21000]}

Loading…
Cancel
Save