Report any technical problems you discover and discuss solutions.

AD/LDAP Authentication Issues & Solutions

  • trochford
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
  • MAXOS Developer
Plus d'informations
il y a 13 ans 1 mois #202 par trochford
AD/LDAP Authentication Issues & Solutions a été créé par trochford
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.

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

  • trochford
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
  • MAXOS Developer
Plus d'informations
il y a 13 ans 1 mois - il y a 13 ans 1 mois #203 par trochford
Réponse de trochford sur le sujet Authentication fails after Upgrade to XoT2.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)
Dernière édition: il y a 13 ans 1 mois par trochford.

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

Plus d'informations
il y a 13 ans 1 mois #210 par tom

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

Plus d'informations
il y a 13 ans 1 mois #211 par tom
Réponse de tom sur le sujet Authentication fails after Upgrade to XoT2.0
Csn you rename the script to .txt and try to attach again?

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

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