CodeIgniter Forums
LDAP Connection - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: LDAP Connection (/showthread.php?tid=35176)



LDAP Connection - El Forum - 10-21-2010

[eluser]Unknown[/eluser]
I have a lot of question in my mind first, what information I need to connect ldap using php? Second, how can I connect ldap to php? And lastly, how can I test it if I’m not connected to server? Or is it possible that I can connect to ldap if I’m not connected to server? I hope someone can share their knowledge about connecting ldap using php, because I have no idea about ldap server.
I try to read some tutorial but still I can't connect.
Thank you in advance.


LDAP Connection - El Forum - 10-23-2010

[eluser]Unknown[/eluser]
I wish I could help more but there is missing information from you I would need.

A. Type of LDAP server. IE: OpenLDAP, Active Directory, tec.
B. Your PHP Server Install, IE Linux, Windows, Mac (MAMP/LAMP/WAMP)

Q1. OpenLDAP or AD (Windows). Either way, Server IP of Directory(in windows the Domain Controller), Organizational information, CN,O that kind of stuff, Port, Encryption used.
Q2. You connect using a LDAP call via the LDAP extension (normally not installed by default on PHP installations)
Q3. No. You can test if the extension is present, but it is like testing a SQL query without a database.

Sorry not more helpful.