Tags:
create new tag
view all tags

SID-01752: LDAP cache update

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title LDAP cache update
SupportCategory LdapContrib
TWiki version 5.1.3
Server OS CentOs 6.3
Web server Apache 2.2.15
Perl version 5.10
Browser & version Firefox 20
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.