View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Login error for LDAP user - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

[SOLVED] Login error for LDAP user

More
09 Aoû 2018 12:43 #1 by CarlC
Hello, i'm trying to setup the LDAP connection and it appears to be working except no one can login using their AD credentials.
The connection to AD appears to be working but it gives the same error every time: (where my.username = my real sAMAccountName)
Login error for user 'my.username'
2018-08-09 11:08:23.618 ===== TRACE ===== authenticate - Filter error : ldap_search returned no result for filter uid=my.username)
2018-08-09 11:08:23.697 ===== TRACE ===== Login error for user 'my.username'

I've checked all the parameters.php and DB settings, they're all using 'sAMAccountName=%USERNAME%' but the log still shows 'uid='
Tried all combinations of uid, sAMAccount, UserPrincipalName
If i use domain\username it fails because of the \

Or sometimes i get the error:
***** ERROR ***** [V7.0.9] on file 'C:\xampp\htdocs\model\UserMain.php' at line (1158)
2018-08-09 11:41:00.395 ***** ERROR ***** [V7.0.9] cause = ldap_search(): Search: Bad search filter

Please Connexion or Create an account to join the conversation.

More
09 Aoû 2018 13:58 #2 by CarlC
Replied by CarlC on topic Login error for LDAP user
Found the problem in the config.php file, guess i had tweaked the wrong values :oops:

I was using:
$param = 'sAMAccountName=%USERNAME%';
$label = "Ldap filter";
$value = "Ldap filter to find used name (must include %USERNAME%)";
$pname = 'paramLdap_user_filter';
$ctrls = '';

But this worked instead (even though it still says "sAMAccountName=%USERNAME%" in the global params:
$param = 'uid=%USERNAME%';
$label = "Ldap filter";
$value = "Ldap filter to find used name (must include %USERNAME%)";
$pname = 'paramLdap_user_filter';
$ctrls = '';

Please Connexion or Create an account to join the conversation.

More
09 Aoû 2018 14:17 #3 by babynus
Replied by babynus on topic Login error for LDAP user
You should check the parameters.php file.
If parameters value exist in this file, they always overwrite values in the DB.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.033 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.