mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +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
|
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
|
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"
|
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
|
g" write
|
||||||
olcAccess: {5}to dn.sub="ou=service-users,dc=ldap,dc=example,dc=org" by gro
|
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
|
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
|
="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: {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
|
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
|
g" read
|
||||||
olcLastMod: TRUE
|
olcLastMod: TRUE
|
||||||
olcRootDN: cn=admin,dc=ldap,dc=example,dc=org
|
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.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 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!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
@ -37,16 +37,16 @@ ALLOWED_HOSTS = ['test.example.org']
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.mysql',
|
'ENGINE': 'django.db.backends.mysql',
|
||||||
'NAME': 're2o',
|
'NAME': 'db_name_value',
|
||||||
'USER': 're2o',
|
'USER': 'db_user_value',
|
||||||
'PASSWORD': DB_PASSWORD,
|
'PASSWORD': DB_PASSWORD,
|
||||||
'HOST': 'localhost',
|
'HOST': 'db_host_value',
|
||||||
},
|
},
|
||||||
'ldap': {
|
'ldap': {
|
||||||
'ENGINE': 'ldapdb.backends.ldap',
|
'ENGINE': 'ldapdb.backends.ldap',
|
||||||
'NAME': 'ldap://10.0.0.0/',
|
'NAME': 'ldap://ldap_host_ip/',
|
||||||
'USER': 'cn=admin,dc=ldap,dc=example,dc=org',
|
'USER': 'ldap_dn',
|
||||||
'PASSWORD': 'SUPER_SECRET',
|
'PASSWORD': 'SUPER_SECRET_LDAP',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue