Forum

[SOLVED] ldap conne...
 
Notifications
Retirer tout

[SOLVED] ldap connection is not working

4 Posts
2 Utilisateurs
0 Reactions
3,808 Vu
(@dubal)
Posts: 6
Active Member
Début du sujet
 
[#2887]

Hi folks,
Can't seem to get this to work.
projeqtor on Centos 6.5 needs to authenticate user logins against Microsoft AD.
This is what I set up:
connection with LDAP user : Yes
LDAP base dn : dc=kr,dc=om
LDAP host : 10.1.2.123
LDAP port : 389
LDAP version : 3
LDAP user : cn=quser,dc=kr,dc=om
LDAP password : *****
LDAP user filter : sAMAccountName=%USERNAME% (tried with uid as well)
default profile for Ldap users : Project Guest
message on creation new user from Ldap : No
It is giving the following error in log file:
ldap_bind(): Unable to bind to server: Invalid credentials
I know the user name and password is correct.
What am I doing wrong?
Please help.


 
Posté : 11 Jan PM 22:011
 test
(@test31)
Posts: 34
Active Member
 

Hi,

I had a similar pb.
I modified user (in your exemple only quser instead of cn=quser,dc=kr,dc=om), and it worked.
I used same filter you tried (sAMAccountName)


 
Posté : 11 Jan PM 22:011
(@dubal)
Posts: 6
Active Member
Début du sujet
 

Thanks.
Works very well.
Hope this helps others as well.
How did you think of trying that?


 
Posté : 11 Jan PM 23:011
 test
(@test31)
Posts: 34
Active Member
 

We have developed other software connecting to Active Directory, I looked at their parameters and tried this.
Perhaps default values should be changed for this field in Projeqtor? Or complete CN (like your LDAP user : cn=quser,dc=kr,dc=om) works in ssome other cases?

Have a good time with Projeqtor 😉


 
Posté : 11 Jan PM 23:011
Share:
Retour en haut