Forum

Log for LDAP connec...
 
Notifications
Retirer tout

Log for LDAP connection

5 Posts
2 Utilisateurs
0 Reactions
4,486 Vu
(@ltremblay)
Posts: 3
Active Member
Début du sujet
 
[#2402]

Hello, i have ldap connection problem and i would like to know how to enable a log with more information for ldap connection.

Thank you.


 
Posté : 30 Juin PM 23:066
(@babynus)
Posts: 14952
Membre Admin
 

set $logLevel="3" in parameters.php will show all error logs in log file
But there are not much.
Maybe you can add some trace in /model/User.php->authenticate(), using debugLog("message");


 
Posté : 1 Juil AM 02:077
(@ltremblay)
Posts: 3
Active Member
Début du sujet
 

Thank you for the info. After putting debug message, i realize for a ldap user to be able to acces the site, this user need to be create first in the projector database and specified that is an ldap user.


 
Posté : 2 Juil PM 20:077
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

The user do not need to be created first, but if it exists, it must have isLdap=1 in order to connect through ldap.


 
Posté : 2 Juil PM 21:077
(@ltremblay)
Posts: 3
Active Member
Début du sujet
 

The only way that i was able to make the apllication avalaible for a user, is to create the user first on thw application. What i am missing to be able that a user not created on the application first, be able to acces it.

Thank you


 
Posté : 2 Juil PM 21:077
Share:
Retour en haut