8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-05-16 07:36:21 +00:00

Suppression of ldap settings in default settings

This commit is contained in:
chapeau 2020-06-07 18:05:59 +02:00 committed by Gabriel Detraz
parent 7fac0e1a9a
commit e3b7ffd8d2
2 changed files with 1 additions and 10 deletions

View file

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

View file

@ -48,15 +48,6 @@ SESSION_COOKIE_AGE = 60 * 60 * 3
# The path where your organization logo is stored # The path where your organization logo is stored
LOGO_PATH = "static_files/logo.png" 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 # A range of UID to use. Used in linux environement
UID_RANGES = {"users": [21001, 30000], "service-users": [20000, 21000]} UID_RANGES = {"users": [21001, 30000], "service-users": [20000, 21000]}