Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1

TOPIC:

AD/LDAP Authentication Issues & Solutions 10 years 10 months ago #202

  • trochford
  • trochford's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • MAXOS Developer
  • Posts: 9
  • Thank you received: 0
I'm setting up this Topic to provide a place to share experience and practice in configuring XoT to work with Active Directory using LDAP. In practice I have found that no two Institutions share exactly the same solutions, so please share your configuration issues and solutions with others using this Topic.

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

Authentication fails after Upgrade to XoT2.0 10 years 10 months ago #203

  • trochford
  • trochford's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • MAXOS Developer
  • Posts: 9
  • Thank you received: 0
Background
A Learning Provider had recently upgraded their version of XoT and this had resulted in the AD authentication failing. They were unable to authenticate users and the old Bind credentials no longer worked. I believe they had overlaid XoT 2.0 onto XoT 1.9 but am not sure of this, and neither were they. The new install had detected the previous one and had accurately replicated the username and other credentials in the MySQL Database and also in the updated Management pages.
Solution
The solution in this case was to prefix the original Bind DN with the Domain Name (i.e. DOMAIN\user-name)
Resources
I have attached a test script which I use to test AD/LDAP configuration parameters. I'm sure it would be helpful if those more proficient than I with php could improve this, e.g. by adding additional diagnostics or improving the comments.
Notes
  1. There used to be some functionality with XoT for testing LDAP/AD installations. If it's still available it would be helpful to have some documentation for that here as well. The script provided here can be run straight from the htdocs area without needing to run XoT, so it will not pick up issues with the XoT Code.

  2. It would be good to hear of any cases where the test script runs OK but authentication still fails (e.g. because of local security settings)

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

Last edit: by trochford.

Authentication fails after Upgrade to XoT2.0 10 years 10 months ago #210

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1291
  • Thank you received: 308

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

Authentication fails after Upgrade to XoT2.0 10 years 10 months ago #211

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1291
  • Thank you received: 308
Csn you rename the script to .txt and try to attach again?

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

  • Page:
  • 1
Moderators: ronmjultenJohnSmith
Time to create page: 0.161 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search