chamilo-lms icon indicating copy to clipboard operation
chamilo-lms copied to clipboard

Ldap external login: new users are not added

Open jderriks opened this issue 10 years ago • 2 comments

Expected behavior / Resultado esperado / Résultat attendu

A user that has LDAP auth but is not in the system yet should be added with newUser,ldap.php

Actual behavior / Resultado real / Résultat réel

New users seem to login but are not created and do not get any error message.

Steps to reproduce / Pasos para reproducir / Étapes pour reproduire

Test it with an ldap system and try login with a user that has LDAP rights but is not yet added to chamilo.

FIX: this bug was introduced with a commit 3 october: https://github.com/chamilo/chamilo-lms/commit/ee1efcb0ec9628b533665c1c716bc450268ac324

jderriks avatar Dec 03 '16 10:12 jderriks

Can confirm with a fresh install that LDAP login does not work when the user has never connected to the platform. I get an error message with user not authorised to access this page. No user is created in the user table of the database.

I commented out the break; on line 580 from the commit https://github.com/chamilo/chamilo-lms/commit/ee1efcb0ec9628b533665c1c716bc450268ac324 to get things working again

Starbugstone avatar Dec 16 '16 11:12 Starbugstone

I confirm, i commented out the break; on line 580 and now it work. Thank very much.

juronius avatar Jan 30 '17 10:01 juronius