This question about LDAP: Answered

LDAP login works properly, but no User Topic is created

Dear all,

LDAP works perfectly for me with following settings:

{LoginManager} TemplateLogin (doesn't work with LdapApacheLogin)
{UserMappingManager} LdapUserMapping
{PasswordManager} LdapPasswdUser

with one small exception - when I ask other domain users, they're able to log into Foswiki properly (if they provide incorrect password there's error displayed),

but no User Topic is created, so I am not able to properly assign them to groups/grant them permissions.

As a workaround, I created "manually" (copy to foswiki text files with users accounts)

-- RomanAndrzej - 12 Nov 2014

See NewUserPlugin

-- MichaelDaum - 12 Nov 2014

I discovered what was wrong - RegistrationAgent user was unable to create new account.

Solution: go to /Main/WebPreference and add RegistrationAgent to ALLOWWEBCHANGE (Set ALLOWWEBCHANGE = MyGroup, RegistrationAgent)

-- RomanAndrzej - 24 Nov 2014

Yes. If you restrict the Main web, then RegistrationAgent must be allowed to update the web or there will be issues.

-- GeorgeClark - 24 Nov 2014
 

QuestionForm edit

Subject LDAP
Extension LdapContrib
Version Foswiki 1.1.9
Status Answered
Related Topics
Topic revision: r4 - 24 Nov 2014, GeorgeClark
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