mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-09-12 01:03:09 +00:00
Suppression of ldap settings in default settings
This commit is contained in:
parent
5aa4c08a56
commit
788a1efee0
2 changed files with 1 additions and 10 deletions
|
@ -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 _
|
||||||
|
|
|
@ -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]}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue