gamonoid / icehrm

Manage your employees easily with a robust and efficient Human Resource Management System
http://icehrm.com
Other
586 stars 373 forks source link

LDAP not working #186

Closed mikespears closed 5 years ago

mikespears commented 5 years ago

I'm a new user of IceHRM, and am unable to get LDAP login working with my Active Directory setup. When attempting to login to IceHRM (added the user) I get "Login Failed". Attached is my LDAP config for IceHRM. image

exilepc commented 5 years ago

I think your LDAP Manager DN is wrong, this is what I used on mine

Screen Shot 2019-07-08 at 10 49 50 PM
mikespears commented 5 years ago

Yea I ended up realizing a couple days later what I was doing wrong :D.. So much for writing LDAP DNs when half asleep :D

alexnogard commented 5 years ago

Yea I ended up realizing a couple days later what I was doing wrong :D.. So much for writing LDAP DNs when half asleep :D

Hello Mike, Can you share your resolution with us please ? Trying to connecte to my Active Directoy, but not working

Thanks

alexnogard commented 5 years ago

Yea I ended up realizing a couple days later what I was doing wrong :D.. So much for writing LDAP DNs when half asleep :D

Hello Mike, Can you share your resolution with us please ? Trying to connecte to my Active Directoy, but not working

Thanks

All right, for the AD, the solution for me was :

for the DN, do a query to the active directoy to have the full DN : dsquery user -name "username"

and put the correct user filter : samAccountName={}

Regards