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

Configure LDAPS authentication in Xerte 2.1

Meer
11 jaren 1 maand geleden #2893 door tom
Beantwoord door tom in topic Configure LDAPS authentication in Xerte 2.1
Hmm...

Ok, I added some debugging code to see what search filter is actually used, and I surrounded the filter with ().

Could you place the file in library/Xerte/Authentication, and see whether that improves things?

Bijlage:

Bestandsnaam: Ldap_2015-07-14.zip
Bestandsgrootte:2 KB
Bijlagen:

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
11 jaren 1 maand geleden #2894 door rbrown
Beantwoord door rbrown in topic Configure LDAPS authentication in Xerte 2.1
thanks again tom

Only difference I'm seeing in the log is the passowd is hashed

2015-07-14 11:17:34 /srv/www/vhosts/xerte.uct.ac.za/xertetoolkits/library/Xerte/Authentication/Ldap.php71Valid login? mystaffnumber / *******

the rest remains unchanged
2015-07-14 11:17:34 /srv/www/vhosts/xerte.uct.ac.za/xertetoolkits/library/Xerte/Authentication/Ldap.php90Running : SELECT * FROM ldap
2015-07-14 11:17:34 /srv/www/vhosts/xerte.uct.ac.za/xertetoolkits/library/Xerte/Authentication/Ldap.php93Trying to authenticate against servername.uct.ac.za
2015-07-14 11:17:34 /srv/www/vhosts/xerte.uct.ac.za/xertetoolkits/library/Xerte/Authentication/Ldap.php183Failed to query ldap serverBad search filter

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
11 jaren 1 maand geleden #2895 door tom
Beantwoord door tom in topic Configure LDAPS authentication in Xerte 2.1
I missed something there. The configuration changed after setting the server including the ldaps:

Did you choose a complete different server? It appears that the ldap_password is no longer set, so you're in a complete difefernt code branch then I thought.

There seems to be an inconsistency in the current code with respect to ldap_filter and ldap_filter_attr
Plase set filter to
Code:
cn=
and try again.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
11 jaren 1 maand geleden #2896 door rbrown
Beantwoord door rbrown in topic Configure LDAPS authentication in Xerte 2.1
sorry tom going back one post

I moved the debug line to line 183 (which is in the else statements)

the log now shows
2015-07-14 11:49:41 /srv/www/vhosts/xerte.uct.ac.za/xertetoolkits/library/Xerte/Authentication/Ldap.php187Searched ou=uct,o=uct / 01378575

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
11 jaren 1 maand geleden #2897 door tom
Beantwoord door tom in topic Configure LDAPS authentication in Xerte 2.1
Now I lost you....

When the bind setting is not set, the ldap_filter is used, not ldap_filter_attr, and the filter should include the '=' caharacter.

You can also send me your version of Ldap.php, so that we are at least in synch again. (by pm to reijnders at to dot nl))

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Tijd voor maken pagina: 0.179 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo