SID-01752: LDAP cache update
| Status: |
Answered |
TWiki version: |
5.1.3 |
Perl version: |
5.10 |
| Category: |
LdapContrib |
Server OS: |
CentOs 6.3 |
Last update: |
10 years ago |
Hi,
I am using LDAPContrib plugin for user authentication, it worked for current LDAP users. But when I added a new user on LDAP server, it does not reflect on my TWiki user list and the new user is not able to login on TWiki.
When I refreshed the LDAP cache from command prompt it shows following error.
view: Use of uninitialized value in hash element at /var/www/html/twiki/lib/TWiki/UI.pm line 118.
--
Madhuri Yevale - 2013-07-03
Discussion and Answer
There is a button to refresh the cache, visit your TWiki.LdapContrib topic. You can also simply delete
twiki/working/work_areas/LdapContrib/chache.db. If you copy things around make sure that all files and dirs below
twiki/working are owned by the apache user.
--
Peter Thoeny - 2013-07-03
Yes, using refresh button the cache gets updated. I have checked permissions for twiki/working directory and its owned by apache user. I want to set daily basis cron to update cache file but the given cronjob shows error for UI.pm file.
Please help!!
--
Madhuri Yevale - 2013-07-09
Try delete twiki/working/work_areas/LdapContrib/chache.db with a cronjob, this should work.
--
Daniel Perabo - 2013-07-31
This should also work on cron:
cd /path/to/twiki/bin; ./view refreshldap=on
--
Peter Thoeny - 2013-08-01
LDAP cache doesn't seems to update deleted members from LDAP group. In other words, it appends to existing cache rather than complete refresh. Is this a bug?
--
farnoosh durant - 2015-04-06
Possibly a bug. You can file a report at
TWikibug:LdapContrib
.
--
Peter Thoeny - 2015-04-07
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
Peter Thoeny - 2015-12-03
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.