From dea5f99363d4cf8e9ffff967c8cbdb38c8c50507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Sun, 20 Apr 2014 19:24:40 -0400 Subject: [PATCH] Add LDAP authentication --- Vagrantfile | 2 +- common.php | 8 +++- controllers/user.php | 8 ---- locales/es_ES/translations.php | 1 + locales/fr_FR/translations.php | 1 + locales/pl_PL/translations.php | 1 + locales/pt_BR/translations.php | 1 + models/ldap.php | 81 ++++++++++++++++++++++++++++++++++ models/user.php | 56 ++++++++++++++++++++--- schemas/mysql.php | 5 +++ schemas/sqlite.php | 5 +++ templates/config_index.php | 29 ++++++------ templates/user_edit.php | 19 +++++--- 13 files changed, 180 insertions(+), 37 deletions(-) create mode 100644 models/ldap.php diff --git a/Vagrantfile b/Vagrantfile index 502ebec9f..1568b3257 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -6,7 +6,7 @@ VAGRANTFILE_API_VERSION = "2" $script = <