CodeIgniter Forums
Active Directory Autnetication to use username in application? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Active Directory Autnetication to use username in application? (/thread-61498.html)



Active Directory Autnetication to use username in application? - alexandervj - 04-20-2015

Is there a way to use Windows Active Directory Autheitcation to get the username of the user thats accessing a CodeIgniter web application?

I have a small database that tracks user changes, etc. and would like to make it have as few logins as possible. Thanks for your help


RE: Active Directory Autnetication to use username in application? - mwhitney - 04-21-2015

I haven't had a chance to implement Active Directory authentication myself, but the following library looked promising when I looked into it:
https://github.com/adldap/adLDAP


RE: Active Directory Autnetication to use username in application? - alexandervj - 04-21-2015

Thanks mwhitney! That looks helpful. I'll try to implement that and post how it goes here