Re: How-to desactivate only the LDAPUsersCache ?

Thomas Draier <[email protected]>
Newsgroups gmane.comp.cms.jahia.install
Message-ID <[email protected]>
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)
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.