Commit 5501fe8c authored by root's avatar root

Fix pour le script d'installation auto

parent d74b8dfd
......@@ -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',
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment