diff --git a/annuaire/settings.py b/annuaire/settings.py index b407743..4a86b9a 100644 --- a/annuaire/settings.py +++ b/annuaire/settings.py @@ -22,6 +22,26 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = "84=n(@@wl(04oc$(-+3surgrlf&uq3=m)=(hpg$immi1h69s)p" +# À bouger dans un ficher secret quand il sera créé ? +LDAP = { + "SPI": { + "PROTOCOL": "ldaps", + "URL": "ldap.spi.ens.fr", + "PORT": 636, + }, + "CRI": { + "PROTOCOL": "ldap", + "URL": "annuaire.ens.fr", + "PORT": 389, + }, +} + +ANNUAIRE = { + "PROTOCOL": "http", + "URL": "annuaireweb.ens.fr", + "PORT": 80, +} + # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True