I test it, but my changes in LDAP are not reloaded... The LDAP users have some specific attributs used to calculate there groups. This attributs are manage in the LDAP : when a user need to be add to a group of an application, we had the objectclass 'utilisateurCCX' (where ccx is the code of the application) and we had the value 'publieurCCX' to the attribut groupesCCX of the LDAP user.
The group publieurCCX is dynamic. Is memberurl value is ldap://dc=domain??sub?(&(objectclass=utilisateurCCX)(groupesCCX=*publieurCCX*)) When I refresh the two cache LDAPUsersCache and ProvidersUsersCache, the LDAP user attributs still being in the cache and the modifications are not reloaded. How-to take this modifications in Jahia ? Thanks > if you need to refresh ldap user attributes, like email or name, you > can manually flush LDAPUsersCache and ProvidersUsersCache. note that > passwords are not cached and therefore no flush is needed when you > change password in ldap. > > Le 25 mai 05 � 15:23, ghislain..cussonneau a �crit : > > > hi, > > > > so how can I force the refresh of a LDAP User in Jahia cache > > when its properties are modified in the LDAP Directory ? > > > > > >> hi, > >> setting the groups caches to 0 in jahia.properties works for > >> > > me : > > > >> max_cached_LDAPGroupsCache = 0 > >> max_cached_ProvidersGroupsCache = 0 > >> only these 2 caches needs to be flushed if you want your > >> > > dynamic > > > >> groups to be recalculated. users caches are not involved in > >> > > this - > > > >> even if groups are based on user attributes. > >> thomas > >> > >> Le 18 mai 05 � 16:32, ghislain..cussonneau a �crit : > >> > >> > >>> Hi! > >>> > >>> On Jahia 4.0.6, I've modify the jahia.properties to had > >>> > > this lines > > > >>> > >>> max_cached_LDAPUsersCache = 0 > >>> max_cached_ProvidersUsersCache = 0 > >>> > >>> because the dynamic groups are based on some attributs of the > >>> users in the LDAP and when I only desactivate the > >>> max_cached_LDAPUsersCache, it's not enough to take > >>> modifications from the LDAP. > >>> > >>> There's a new problem with this cofiguration : all the JahiaDB > >>> users (the super-administrator, the webmasters, etc.) can't > >>> authenticate to my sites. The super-administrator can only > >>> access and manipulate the administration panel > >>> (http://localhost/jahia/administration). > >>> > >>> WHY ? > >>> > >>> How can I configure my server to take changes from the LDAP > >>> and still use the JahiaDB users ? > >>> > >>> If I don't this configuration and use instead the "Status and > >>> server caches" engine, I need to delete all the caches to take > >>> the users changes from LDAP ! > >>> > >>> WHY ? > >>> > >>> Thanks > >>> > >>> <b>Ghislain CUSSONNEAU</b> > >>> <i>DIRR/DPIL/CIS > >>> CAP 44, Rue Marcel Sembat > >>> 44000 Nantes</i> > >>> <b>02 51 84 48 80</b> > >>> <i>CRIL Technology > >>> Technoparc de l'Aubini�re > >>> 44000 Nantes</i> > >>> <b>02 51 89 64 50</b> > >>> > >>> Acc�dez au courrier �lectronique de La Poste : > >>> > > www.laposte.net ; > > > >>> 3615 LAPOSTENET (0,34�/mn) ; t�l : 08 92 68 13 50 (0,34�/mn) > >>> > >>> > >>> > >>> > >>> > >> > >> > >> > > > > <b>Ghislain CUSSONNEAU</b> > > <i>DIRR/DPIL/CIS > > CAP 44, Rue Marcel Sembat > > 44000 Nantes</i> > > <b>02 51 84 48 80</b> > > <i>CRIL Technology > > Technoparc de l'Aubini�re > > 44000 Nantes</i> > > <b>02 51 89 64 50</b> > > > > Acc�dez au courrier �lectronique de La Poste : www.laposte.net ; > > 3615 LAPOSTENET (0,34�/mn) ; t�l : 08 92 68 13 50 (0,34�/mn) > > > > > > > > > > <b>Ghislain CUSSONNEAU</b> <i>DIRR/DPIL/CIS CAP 44, Rue Marcel Sembat 44000 Nantes</i> <b>02 51 84 48 80</b> <i>CRIL Technology Technoparc de l'Aubini�re 44000 Nantes</i> <b>02 51 89 64 50</b> Acc�dez au courrier �lectronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,34�/mn) ; t�l : 08 92 68 13 50 (0,34�/mn)
