Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

LDAP problem
 
Notifications
Clear all

LDAP problem

9 Posts
2 Users
0 Reactions
6,808 Views
(@gnduser)
Posts: 42
Active Member
Topic starter
 
[#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.


 
Posted : 21 Oct 2016 11H56
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Are you sure users exist in your LDAP ?


 
Posted : 21 Oct 2016 13H08
(@gnduser)
Posts: 42
Active Member
Topic starter
 

Yes, it exists.

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


 
Posted : 21 Oct 2016 13H28
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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


 
Posted : 21 Oct 2016 13H35
(@gnduser)
Posts: 42
Active Member
Topic starter
 

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'


 
Posted : 21 Oct 2016 13H39
(@gnduser)
Posts: 42
Active Member
Topic starter
 

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...


 
Posted : 21 Oct 2016 14H11
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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


 
Posted : 21 Oct 2016 20H15
babynus
(@babynus)
Posts: 14966
Main Contributor 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).


 
Posted : 21 Oct 2016 20H27
(@gnduser)
Posts: 42
Active Member
Topic starter
 

All solved.

Thanksss


 
Posted : 24 Oct 2016 10H31
Share:

Scroll to Top