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

Cannot Log in Ordinary User Using LDAP

More
10 years 4 months ago #3573 by ronm
Replied by ronm on 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/

Please Log in or Create an account to join the conversation.

  • cs1slb
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 4 months ago - 10 years 4 months ago #3576 by cs1slb
Replied by cs1slb on 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?
Last edit: 10 years 4 months ago by cs1slb. Reason: Garbled layout of query output.

Please Log in or Create an account to join the conversation.

Time to create page: 0.136 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo