mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
Fix pour le script d'installation auto
This commit is contained in:
parent
d74b8dfd93
commit
5501fe8c4f
2 changed files with 10 additions and 10 deletions
|
@ -1126,14 +1126,14 @@ olcAccess: {3}to dn.sub="ou=groups,dc=ldap,dc=example,dc=org" by group="cn=
|
|||
olcAccess: {4}to dn.sub="cn=Utilisateurs,dc=ldap,dc=example,dc=org" by grou
|
||||
p="cn=auth,ou=services,ou=groups,dc=ldap,dc=example,dc=org" read by self r
|
||||
ead by group="cn=readonly,ou=services,ou=groups,dc=ldap,dc=example,dc=org"
|
||||
read by group="cn=usermgmt,ou=services,ou=groups,dc=ldap,dc=rezometz,dc=or
|
||||
read by group="cn=usermgmt,ou=services,ou=groups,dc=ldap,dc=example,dc=or
|
||||
g" write
|
||||
olcAccess: {5}to dn.sub="ou=service-users,dc=ldap,dc=example,dc=org" by gro
|
||||
up="cn=auth,ou=services,ou=groups,dc=ldap,dc=example,dc=org" read by group
|
||||
="cn=readonly,ou=services,ou=groups,dc=ldap,dc=example,dc=org" read
|
||||
olcAccess: {6}to dn.base="dc=ldap,dc=example,dc=org" by * read
|
||||
olcAccess: {7}to * by dn="cn=admin,dc=ldap,dc=example,dc=org" write by self
|
||||
read by group="cn=readonly,ou=services,ou=groups,dc=ldap,dc=rezometz,dc=or
|
||||
read by group="cn=readonly,ou=services,ou=groups,dc=ldap,dc=example,dc=or
|
||||
g" read
|
||||
olcLastMod: TRUE
|
||||
olcRootDN: cn=admin,dc=ldap,dc=example,dc=org
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
SECRET_KEY = 'SUPER_SECRET'
|
||||
SECRET_KEY = 'SUPER_SECRET_KEY'
|
||||
|
||||
DB_PASSWORD = 'SUPER_SECRET'
|
||||
DB_PASSWORD = 'SUPER_SECRET_DB'
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = False
|
||||
|
@ -37,16 +37,16 @@ ALLOWED_HOSTS = ['test.example.org']
|
|||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
'NAME': 're2o',
|
||||
'USER': 're2o',
|
||||
'NAME': 'db_name_value',
|
||||
'USER': 'db_user_value',
|
||||
'PASSWORD': DB_PASSWORD,
|
||||
'HOST': 'localhost',
|
||||
'HOST': 'db_host_value',
|
||||
},
|
||||
'ldap': {
|
||||
'ENGINE': 'ldapdb.backends.ldap',
|
||||
'NAME': 'ldap://10.0.0.0/',
|
||||
'USER': 'cn=admin,dc=ldap,dc=example,dc=org',
|
||||
'PASSWORD': 'SUPER_SECRET',
|
||||
'NAME': 'ldap://ldap_host_ip/',
|
||||
'USER': 'ldap_dn',
|
||||
'PASSWORD': 'SUPER_SECRET_LDAP',
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue