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

ldap configuration on xertetoolkits 2.1

Plus d'informations
il y a 12 ans 5 mois #1236 par bogaerbr
ldap configuration on xertetoolkits 2.1 a été créé par bogaerbr
Hallo,

I have some trouble getting my xerte to authenticate with ldap.
I had no issues installing XOT (2.1) on my LAMP server.
On that server I installed a owncloud that does authenticate using ldap.
In attachment screenshots of the configuration of ldap for authentication in owncloud.
ldap authentication in owncloud works.

I would like to use ldap for authentication in xerte as well.
First: where do I configure for ldap?
(of course I set the auth_config.php file to use Ldap as authentication method)
next? Do I set the configuration for ldap in
/library/Xerte/Authentication/Ldap.php
or do I set the ldap configuration through
<ldap setting> in the Site Administration?
Or both?

Next: Can anyone suggest me a configuration for my xerte server based on the settings that work for my owncloud server?

Thank you for helping me with this issue,

Bruno Van Bogaert
Pièces jointes :

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

Plus d'informations
il y a 12 ans 5 mois #1294 par tom
Réponse de tom sur le sujet ldap configuration on xertetoolkits 2.1
Hello,

I'll setup an LDAP server (in this case probably the SAMBA 3 ldap backend) to test and see if I can help you out.

Please bear with us.

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

Plus d'informations
il y a 12 ans 4 mois #1296 par tom
Réponse de tom sur le sujet ldap configuration on xertetoolkits 2.1
Please try the contents of the attached .zip file in stead of library/Xerte/Authentication/Ldap.php

Fichier attaché :

Nom du fichier : Ldap.zip
Taille du ficher :2 Ko


Based on your screen shots I would set the following:
host: ldap.vub.ac.be
port: 389
ldap passwd (leave empty)
ldap base : ou=vub,ou=people,o=bfucc
ldap bind : (The User DN of screenshot 1)
LDAP main filter : cn
Ldap second filter uid=

If that doesn't work, can you please cyhange config.php, and make sure that around lin 26, $develop is set to true, and check the location of the debug.log file a few lines below that.

Try to login again and check the debug.log file for clues.
Pièces jointes :

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

Plus d'informations
il y a 12 ans 4 mois #1313 par bogaerbr
Réponse de bogaerbr sur le sujet ldap configuration on xertetoolkits 2.1
Hallo Tom,

I tried your suggestion.
It does not work (yet).
The debug file contains a single line:
2014-03-08 01:12:11 /var/www/xerte/website_code/php/database_library.php139Running : SELECT * FROM sitedetails

I do not know what to do with it....

Bruno

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

Plus d'informations
il y a 12 ans 4 mois #1314 par tom
Réponse de tom sur le sujet ldap configuration on xertetoolkits 2.1
Hmm, it looks like ldap is not selected in auth_config.php

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

Plus d'informations
il y a 12 ans 4 mois #1315 par bogaerbr
Réponse de bogaerbr sur le sujet ldap configuration on xertetoolkits 2.1
Whoaaw!
What a fast reply!!

OK.
Let's have a look at the auth_config file


//$xerte_toolkits_site->authentication_method = 'Guest';
$xerte_toolkits_site->authentication_method = 'Ldap';
//$xerte_toolkits_site->authentication_method = 'Db';
$xerte_toolkits_site->authentication_method = 'Static';
//$xerte_toolkits_site->authentication_method = "Moodle";

Can it be that the problem is related to the fact that I choose BOTH ldap and static?

Bruno

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

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