From 80cdd7a789daac210ba6a1253ba889a8bcd619e4 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 12 May 2020 19:41:42 +0200 Subject: [PATCH] doc: add upgrade note about replacement of authObjectType, authObjectFilter and authObjectTypeAttrPwd parameters --- doc/upgrade/upgrade.docbook | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/upgrade/upgrade.docbook b/doc/upgrade/upgrade.docbook index 3d20ea18..7269e628 100644 --- a/doc/upgrade/upgrade.docbook +++ b/doc/upgrade/upgrade.docbook @@ -72,6 +72,24 @@ sur votre configuration et votre code personnalisé. exemple, $GLOBALS['defaultCSSfiles']=array('../light-blue.css'); devient $GLOBALS['defaultCSSfiles']=array('light-blue.css');. + les paramètres authObjectType, authObjectFilter et + authObjectTypeAttrPwd sont remplacés par le tablau LSobjects dans le + paramètre LSauth. + Par exemple: + 'authObjectType' => 'LSpeople', +'authObjectFilter' => '(|(uid=%{user})(mail=%{user}))', +'authObjectTypeAttrPwd' => 'userPassword', + Devient: + 'LSauth' => array ( + 'LSobjects' => array( + 'LSpeople' => array( + 'filter' => '(|(uid=%{user})(mail=%{user}))', + 'password_attribute' => 'userPassword', + ), + ), + [...] +), +