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