This question about LDAP: Asked

hanging on LDAP log-in

-- AnthonyKawamoto - 24 Nov 2014

Hello

I'm having an issue where the log-in page will not load while LDAP is the selected user / password manager.

I realise there was a previous question about this, and have made sure that all of my modules are up to date (incl. Net::LDAP).

Am using TemplateLogin as log-in manager, LdapUserMapping as user, LdapPasswdUser as password manager.

I also did enable LdapContrib writeDebug methods, but haven't received any specific errors so far, except for "LdapContrib - WARNING: already refreshing cache". After deleting cache.db_tmp, it seemed to have stop appearing.

Any assistance would be appreciated..

Update:

I was able to get the debug going:

[Mon Nov 24 13:13:55 2014] [error] [client 203.4.173.155] - LdapContrib - called getWikiNameOfLogin(akawamoto), referer: http://qms.abtjta.com.au/bin/login?foswiki_origin=GET%2cview%2c/bin/view
[Mon Nov 24 13:13:55 2014] [error] [client 203.4.173.155] - LdapContrib - called isGroup(akawamoto), referer: http://qms.abtjta.com.au/bin/login?foswiki_origin=GET%2cview%2c/bin/view
[Mon Nov 24 13:13:55 2014] [error] [client 203.4.173.155] - LdapContrib - called getWikiNameOfLogin(akawamoto), referer: http://qms.abtjta.com.au/bin/login?foswiki_origin=GET%2cview%2c/bin/view
[Mon Nov 24 13:13:55 2014] [error] [client 203.4.173.155] - LdapContrib - finishing, referer: http://qms.abtjta.com.au/bin/login?foswiki_origin=GET%2cview%2c/bin/view
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - constructed a new LdapContrib object, referer: http://qms.abtjta.com.au/bin/login
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - opening ldap cache from C:/PROGRA~2/Foswiki/Foswiki/working/work_areas/LdapContrib/cache.db, referer: http://qms.abtjta.com.au/bin/login
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - cacheAge=9999999999, maxCacheAge=86400, lastUpdate=0, refresh=1, referer: http://qms.abtjta.com.au/bin/login
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - WARNING: already refreshing cache, referer: http://qms.abtjta.com.au/bin/login
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - called getGroupMembers FoswikiAdminGroup, referer: http://qms.abtjta.com.au/bin/login
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - called isGroup(akawamoto), referer: http://qms.abtjta.com.au/bin/login
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - called getWikiNameOfLogin(akawamoto), referer: http://qms.abtjta.com.au/bin/login
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - called getWikiNameOfLogin(akawamoto), referer: http://qms.abtjta.com.au/bin/login
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - called getWikiNameOfLogin(akawamoto), referer: http://qms.abtjta.com.au/bin/login
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - called getWikiNameOfLogin(akawamoto), referer: http://qms.abtjta.com.au/bin/login
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - called isGroup(akawamoto), referer: http://qms.abtjta.com.au/bin/login
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - called getWikiNameOfLogin(akawamoto), referer: http://qms.abtjta.com.au/bin/login
[Mon Nov 24 13:14:02 2014] [error] [client 203.4.173.155] - LdapContrib - finishing, referer: http://qms.abtjta.com.au/bin/login

I can now get onto the log in page, but now it will hang as soon as I enter credentials and try to log in. The binding seems to be completing OK this time though.

I also tried removing the cache.db so it would create a new one, which it did. After it recreates, I still get the same issue :-/

QuestionForm edit

Subject LDAP
Extension LdapContrib
Version Foswiki 1.1.9
Status Asked
Related Topics
Topic revision: r2 - 24 Nov 2014, AnthonyKawamoto
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy