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

Cannot Log in Ordinary User Using LDAP

Meer
10 jaren 5 maanden geleden #3573 door ronm
Beantwoord door ronm in topic 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/

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • cs1slb
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
10 jaren 5 maanden geleden - 10 jaren 5 maanden geleden #3576 door cs1slb
Beantwoord door cs1slb in topic 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?
Laatst bewerkt 10 jaren 5 maanden geleden door cs1slb. Reden: Garbled layout of query output.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Tijd voor maken pagina: 0.128 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo