This question about Authentication or Authorisation: Answered

Duplicate user registration after being moved to a different OU

Users are being registered twice when they log into Foswiki.

We are using the LDAPContrib plugin which maps to our Active Directory (AD) tree. When a user's AD account is moved to a different Organisational Unit (OU) then they log into Foswiki, if they have registered on Foswiki before the OU move, Foswiki will create another username for them (along with a page in the Users web). IE, AndrewJones will become AndrewJones1. I've tried deleting both of the pages in the Users Web (AndrewJones and AndrewJones1), then relogging the user in, but it still returns as AndrewJones1.

Users who have not been moved have no problems.

I've been looking for a file that holds a list of all registered users so I can delete the duplicates, but I'm not sure if one exists. Can anyone advise how to manage this?

-- WilliamMorgan - 08 Nov 2013

Whenever you move users you will have to use


instead of a normal


as a workaround of LdapContrib trying to identify two separate users with the same name working in different organisational units.

This has been reported quite often as people tend to move around objects in their directories every now and then. Using the Distinguishable Name might not be a good way to identify two JohnSmiths.

-- MichaelDaum - 08 Nov 2013

Thanks Michael. Where do I set that?

-- WilliamMorgan - 11 Nov 2013

Found it.

For anyone else looking for the solution, you just need to access this one in your browser.


Thanks again MichaelDaum!

-- WilliamMorgan - 11 Nov 2013

QuestionForm edit

Subject Authentication or Authorisation
Extension LdapContrib
Version Foswiki 1.1.4
Status Answered
Related Topics
Topic revision: r4 - 11 Nov 2013, WilliamMorgan
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