diff --git a/install_utils/schema.ldiff b/install_utils/schema.ldiff index aa17263b..00fb9e08 100644 --- a/install_utils/schema.ldiff +++ b/install_utils/schema.ldiff @@ -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 diff --git a/re2o/settings_local.example.py b/re2o/settings_local.example.py index 0d9ca37d..9ec1d8c6 100644 --- a/re2o/settings_local.example.py +++ b/re2o/settings_local.example.py @@ -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', } }