Link to home
Start Free TrialLog in
Avatar of Richard Quadling
Richard QuadlingFlag for United Kingdom of Great Britain and Northern Ireland

asked on

How do I work with LDAP?

https://www.experts-exchange.com/questions/21830928/Connecting-to-LDAP.html

BTW. I'm NOT ellandrd!

I have a VERY similar issue.

I want to be able to allow my end users access to their data that is stored in AD via a web interface.

The primary issue I have is how do I ...

1 - Determine what I need to provide to LDAP to be able to connet to it.
2 - From my ultra-basic work, I think I need to supply the OU that the user is in to be able to find the user?
3 - Can I log people in and out?
4 - How do I determine username vs account name vs realname?

Basically, an LDAP and PHP expert is required for us!
ASKER CERTIFIED SOLUTION
Avatar of LinuxNubb
LinuxNubb
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
oops mistake:

this line:

$dn = "ou=Pegasus Users,ou=IT,DC=abz,DC=pegasus-,DC=com";

should be:

$dn = "ou=IT,ou=Pegasus Users,DC=abz,DC=pegasus,DC=com";
i found this on the web and from this, i was able to know what values to put where...

http://www.jello.me.uk/images/ldap.bmp
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial