On Wed, Jul 30, 2014 at 12:49 PM, Pascal BASTIEN
<pbasnews-xw...@yahoo.fr> wrote:
> Hello,
>
> I have some questions (today :-) )
>
> - I wondered where is stored local users password?  More precisely in which 
> table? I see that users are in xwikidoc table: 
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema (but not the 
> password)
> Note, I don't want reinitialize password (I know how to do it with superuser)
>
> - If I use LDAP authentication, a copy of  user ldap password is stored in 
> the database?

No.

>
> - With ldap authentication, I filter members by ldap statics groups
>
> #-# Only members of the following group can authenticate.
> xwiki.authentication.ldap.user_group=dn=_agents_,xxxx,dc=fr
> _agents_ contain a static list of memberUID with name.surname
>
> I active log for ldap and I saw that for the first connexion by a ldap user, 
> cache creation take 1mn
> Apparently xwiki try to retrieve the dn for each member of the static group 
> for generate his cache (~5 queries by member)
> Of course, I increased xwiki.authentication.ldap.groupcache_expiration value
>
> Are there a way to refresh the ldap cache by cron or scheduled script?

Yes, any script can call resetGroupCache() in the LDAP script service.
For example in a groovy scheduler job that would be:

services.ldap.resetGroupCache()

>
> Thxs.
>
> Pascal B
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to