Codeigniter Application with LDAP Authentication |
![]() (This post was last modified: 03-23-2015, 08:42 PM by rameshfernandez. Edit Reason: To upload sample code and stackoverflow link )
Without codeigniter i am able to connect to ldap_connect but in my codeigniter project i want to embed ldap connectivity also.
the following are the scenarios 1. If the username and email id exist in database then it is connected to ldap using ldap_connect() and get the windows login password and then validate.(Note: the users with username, mail id and windows login password) 2. if username and password exist in database it will be validated and loggedin.(the users with username and no windows login password or mail id) i did it without codeigniter but here i don't know how to use ldap Sample code: PHP Code: /******LDAP CONNECTIVITY STARTS HERE*********/ Your help is appreciated |
Messages In This Thread |
Codeigniter Application with LDAP Authentication - by rameshfernandez - 03-23-2015, 04:15 AM
RE: Codeigniter Application with LDAP Authentication - by sintakonte - 03-24-2015, 03:16 AM
RE: Codeigniter Application with LDAP Authentication - by rameshfernandez - 03-24-2015, 03:22 AM
RE: Codeigniter Application with LDAP Authentication - by sintakonte - 03-24-2015, 05:46 AM
|