Sudden LDAP 'duplicate entry' error

Re: Sudden LDAP 'duplicate entry' error

by Jason Hollowell -
Number of replies: 1
Picture of Particularly helpful Moodlers

Hello all,

I am replying to my own post here because I managed to figure out the issue. I had added an additional line to the Contexts setting for our LDAP server. I had forgotten about adding it some time back.

The formatting was not a problem but it revealed an issue with our LDAP setup. Namely, one user had two 'accounts' in the LDAP setup. This was not a problem with other systems that use the LDAP for account creation (due to other unique identifiers) but Moodle was throwing and error and the LDAP sync was ceasing each time it hit this error. I removed the additional line (as it is not mission critical) and will work to get the duplicate record removed from our LDAP system. Since the LDAP sync is no longer looking at the context I removed, the sync now proceeds and all desired accounts were created. smile

Regards

Jason

In reply to Jason Hollowell

Re: Sudden LDAP 'duplicate entry' error

by Dennys Patricio Villacrés Jiménez -

Hi Jason. I am living something similar. You mean you erased the context line on LDAP moodle configuration? Is it empty?

Thanks for your help