Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
documentation:2.1:performances [2020/04/16 15:07]
maxbes [Macros and groups] document new inGroup macro
documentation:2.1:performances [2020/05/08 22:00]
cmaudoux [LDAP performances]
Line 197: Line 197:
 <note tip>To avoid storing the full group DNs in session data, you can use a macro to rewrite ''​memberOf'':​ <note tip>To avoid storing the full group DNs in session data, you can use a macro to rewrite ''​memberOf'':​
  
-  * In *Exported variables*, export the ''​memberof''​ LDAP attribute as a ''​ldapGroups''​ session variable +  * In *Exported variables*, export the ''​memberOf''​ LDAP attribute as a ''​ldapGroups''​ session variable 
-    * key: ''​memberof''​ +    * key: ''​ldapGroups''​ 
-    * value: ''​ldapGroups''​+    * value: ''​memberOf''​
  
   * Next, add a ''​ldapGroups''​ macro that will overwrite the exported attribute   * Next, add a ''​ldapGroups''​ macro that will overwrite the exported attribute