Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.
  • Page:
  • 1
  • 2

TOPIC:

Cannot Log in Ordinary User Using LDAP 8 years 8 months ago #3573

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 852
  • Thank you received: 261
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.

Cannot Log in Ordinary User Using LDAP 8 years 8 months ago #3576

  • cs1slb
  • cs1slb's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
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?

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

Last edit: by cs1slb. Reason: Garbled layout of query output.
  • Page:
  • 1
  • 2
Time to create page: 0.044 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search