This question about LDAP: Answered

LDAP Contrib New AD User Issue

New user unable to log in to Foswiki. Confirmed LDAP refresh ran successfully. Also ran from AD server LDAP query: (&(objectClass=user))(sAMAccountName=gmarx) and it returned Groucho Marx.

I log in succesfully as myself and I see the following in error.log with LDAP debug on:

- LdapUserMapping - called eachGroupMember(AdminGroup)

- LdapContrib - cacheAge=1327479, maxCacheAge=86400, lastUpdate=1395836103, refresh=1

- LdapContrib - WARNING: already refreshing cache

- LdapPasswdUser - called checkPassword(TimT, passU)

- LdapContrib - bind for CN=TimT,OU=Lama Land,OU=Users,OU=Community,DC=contoso,DC=local

- LdapUserMapping - called eachGroupMember(AdminGroup)

He logs in unsuccessfully:

- LdapUserMapping - called eachGroupMember(AdminGroup)

- LdapContrib - cacheAge=1327600, maxCacheAge=86400, lastUpdate=1395836103, refresh=1

- LdapContrib - WARNING: already refreshing cache

- LdapContrib - called search(filter=(&(objectClass=user)(sAMAccountName=gmarx)), base=DC=contoso,DC=local, scope=sub, sizelimit=0, attrs=*)

- LdapContrib - proxy bind

- LdapContrib - found 1 entries

- LdapUserMapping - called eachGroupMember(AdminGroup)

Driving me nuts. It's finding the entry. Why can't he log in? Help is appreciated!

-- TimT - 10 Apr 2014

Have a look at working/work_areas/LdapContrib/. There seems to be a temporary cache.db being left over. Remove it. Then try again using refreshldap=on. That way the warning message "WARNING: already refreshing cache" should go away.

-- MichaelDaum - 11 Apr 2014
 

QuestionForm edit

Subject LDAP
Extension LdapContrib
Version Foswiki 1.1.4
Status Answered
Related Topics
Topic revision: r3 - 04 Jul 2014, MichaelDaum - This page was cached on 18 Oct 2018 - 05:55.

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