Le 02/07/2013 18:09, Kevin Roy a écrit :
.Exemple de règle: ================== Logical Operator: ANDCriteria: - (LDAP)Distinguished Name | regular expression matches | /(OU=Développeurs)/ - (LDAP)Distinguished Name | regular expression matches | /(OU=Laboratoire)/ Actions: - Entity based on LDAP information | Assign value from regexp | #0 Input: [userdn] => CN=Kevin Roy,OU=Développeurs,OU=Laboratoire,DC=teclib,DC=info Result: [RuleRight::executeActions()] => Array ( [this->regex_results] => Array ( [0] => Array ( [0] => OU=Développeurs [1] => OU=Laboratoire ) ) )
Bonjour, Concernant votre exemple de règle, le résultat me semble cohérent. 2 critères qui matchent vont donner 2 entités car produisant 2 fois #0. ++ Julien _______________________________________________ Glpi-dev mailing list [email protected] https://mail.gna.org/listinfo/glpi-dev
