Welcome Guest, Not a member yet? Register   Sign In
LDAP Connection
#1

[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.
#2

[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.




Theme © iAndrew 2016 - Forum software by © MyBB