Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.

Cannot Log in Ordinary User Using LDAP

Plus d'informations
il y a 10 ans 4 mois #3573 par ronm
Réponse de ronm sur le sujet Cannot Log in Ordinary User Using LDAP
Ok so all the previous problems weren't Xerte specific but the fact that ldap wasn't enabled. You should have been warned about that during the setup steps?

Anyway progress! Now it looks like just Xerte settings.

You can try changing the ldap settings via management.php.

Verify that the port and other settings are correct - they clearly aren't at the moment.

Login to management in one browser and use a different browser to refresh and test login after each change. e.g. on an install I look after the port is different, the main filter is objectClass=inetorg...... and the second filter is cn=

HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 10 ans 4 mois - il y a 10 ans 4 mois #3576 par cs1slb
Réponse de cs1slb sur le sujet Cannot Log in Ordinary User Using LDAP
Hi, I have made progress with the LDAP issue.

The key issue seems to be with the ‘ldap’ table. Specifically: -
mysql> select ldap_filter, ldap_filter_attr from ldap;
+
+
+
| ldap_filter | ldap_filter_attr |
+
+
+
| uid | NULL |
+
+
+
1 row in set (0.00 sec)

I had the above values juxtaposed incorrectly, thus: -
mysql> select ldap_filter, ldap_filter_attr from ldap;
+
+
+
| ldap_filter | ldap_filter_attr |
+
+
+
| | uid |
+
+
+
1 row in set (0.00 sec)

Reversing these made it possible to login using ldap.
The code that was involved in this is in: -
/var/www/html/library/Xerte/Authentication/Ldap.php

Unfortunately, it now seems that I cannot log out of the application. Any suggestions for fixing this?
Dernière édition: il y a 10 ans 4 mois par cs1slb. Raison: Garbled layout of query output.

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.135 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo