Forum

[SOLVED] LDAP Conne...
 
Notifications
Clear all

[SOLVED] LDAP Connection

3 Posts
2 Users
0 Reactions
5,751 Views
(@slavie)
Posts: 2
New Member
Topic starter
 
[#5548]

Hello,

In advance ,sorry for my bad English.

Before posting my problem I tried all solutions in your forum but my problem persists.

I am currently installing the latest version of Projeqtor (V7.2.7) on a Centos 7 server. I would like users to log in with their Active Directory credentials for Projeqtor to create the user in the database.

I have tried many of the parameters listed in the Projeqtor Help and Forum but I still have this error that prevents me from logging in with any user in the domain:

ERROR: ldap_bind (): Unable to bind to server: Invalid credentials in UserMain.php at line 1200

Ldap Parameters :

Base dn LDAP : ou=Utilisateurs,dc=GASNY,dc=loc
Server LDAP : domain controller hostname (projeqtor server can ping this server)
port LDAP : 389
Version LDAP : 3
User LDAP : cn=projeqtor,ou=ADMINISTRATEUR,ou=Utilisateurs,dn=GASNY,dn=loc
Password LDAP : AD "projeqtor" user password
User filter : sAMAccountName=%USERNAME% (I tried : uid, userPrincipalName)

Our Active Direcory server is Windows server 2012 R2 Standard.

Dsquery.exe for test account : "CN=Sebastien Lavie,OU=INFORMATIQUE,OU=Utilisateurs,DC=GASNY,DC=loc"

I do not know how to advance on this problem after all my research. Can you help me please ?

Thank you,

Sébastien Lavie


 
Posted : 13 Nov 2018 13H12
(@babynus)
Posts: 14952
Member Admin
 

ERROR: ldap_bind (): Unable to bind to server: Invalid credentials in UserMain.php at line 1200

This issue means invalid user / password send for identified user.
This means that
- host / port / .... is correct
- connection with User LDAP (cn=projeqtor,ou=ADMINISTRATEUR,ou=Utilisateurs,dn=GASNY,dn=loc) is correct

sAMAccountName=%USERNAME% generally works, but does not seem to work in your case.
Possibly UJsername you enter (on projector login form) is not the expected one.

You white that connection for ""CN=Sebastien Lavie,OU=INFORMATIQUE,OU=Utilisateurs,DC=GASNY,DC=loc" work,
I hope you don't use this string as login on projeqtor...


 
Posted : 14 Nov 2018 21H07
(@slavie)
Posts: 2
New Member
Topic starter
 

Thank you for your answer.
I found the right setup right after posting my problem.
Utilisateur LDAP : projeqtor@gasny.loc
Password : Projeqtor AD account password
Filter : sAMAccountName=%USERNAME%

and for login I use my Windows account (just my name)

Thank you for your help and for your software. Long life in projeqtor !


 
Posted : 16 Nov 2018 11H05
Share:

Scroll to Top