Forum

LDAP problem
 
Notifications
Retirer tout

LDAP problem

9 Posts
2 Utilisateurs
0 Reactions
6,760 Vu
(@gnduser)
Posts: 42
Active Member
Début du sujet
 
[#3771]

I iam getting succes login for some users and not for uhtres.

This is the log:

2016-10-21 11:28:30.273 ----- DEBUG ----- loginCheck : current db version = 'V5.5.3'
2016-10-21 11:28:30.273 ----- DEBUG ----- User->authenticate('user1', 'LQLECTDHCVjpnYM2soKZGkl8')
2016-10-21 11:28:30.274 ----- DEBUG ----- User->authenticate : LDAP authenticate
2016-10-21 11:28:30.279 ===== TRACE ===== authenticate - Filter error : filter retrieved admin user (LDAP user in global parameters)
2016-10-21 11:28:30.280 ----- DEBUG ----- loginCheck : unidentified incorrect authentification
2016-10-21 11:28:30.280 ===== TRACE ===== Login error for user 'user1'
2016-10-21 11:29:16.040 ----- DEBUG ----- loginCheck : current db version = 'V5.5.3'
2016-10-21 11:29:16.040 ----- DEBUG ----- User->authenticate('user2', 'SAF1bV7HCVjStPww8Q==')
2016-10-21 11:29:16.041 ----- DEBUG ----- User->authenticate : LDAP authenticate
2016-10-21 11:29:16.052 ===== TRACE ===== NEW CONNECTED USER 'user2'

Both are creted in Projeqtor like users from LDAP.


 
Posté : 21 Oct AM 11:1010
(@babynus)
Posts: 14952
Membre Admin
 

Are you sure users exist in your LDAP ?


 
Posté : 21 Oct PM 13:1010
(@gnduser)
Posts: 42
Active Member
Début du sujet
 

Yes, it exists.

Is necessary create the user inside Projeqtor to authenticate against LDAP?


 
Posté : 21 Oct PM 13:1010
(@babynus)
Posts: 14952
Membre Admin
 

No, user can be created automatically on first LDAP authentification.


 
Posté : 21 Oct PM 13:1010
(@gnduser)
Posts: 42
Active Member
Début du sujet
 

This is the error for new user that belongs to LDAP and not create yet into Projeqtor

2016-10-21 13:22:39.123 ----- DEBUG ----- User->authenticate('user', 'HQIYvPHhCVhDFd5QpM0K')
2016-10-21 13:22:39.123 ----- DEBUG ----- User->authenticate : no user id (exit)
2016-10-21 13:22:39.123 ----- DEBUG ----- loginCheck : unidentified incorrect authentification
2016-10-21 13:22:39.123 ===== TRACE ===== Login error for user 'user'


 
Posté : 21 Oct PM 13:1010
(@gnduser)
Posts: 42
Active Member
Début du sujet
 

I have also detected yhat login admin is too slow.

This is a log message logging admin

2016-10-21 13:53:55.188 ===== TRACE ===== Cannot check Version at http://projeqtor.org/admin/getVersion.php
2016-10-21 13:53:55.189 ===== TRACE ===== Maybe allow_url_fopen is Off in php.ini...


 
Posté : 21 Oct PM 14:1010
(@babynus)
Posts: 14952
Membre Admin
 

For last error, just disable version check on Global Parameters page.


 
Posté : 21 Oct PM 20:1010
(@babynus)
Posts: 14952
Membre Admin
 

Your ldap configuration semms not correct.
Value of $paramLdap_allow_login is not "true".
Check value in Global Parameters screen (remove value in parameters.php if defined).


 
Posté : 21 Oct PM 20:1010
(@gnduser)
Posts: 42
Active Member
Début du sujet
 

All solved.

Thanksss


 
Posté : 24 Oct AM 10:1010
Share:
Retour en haut