Richard Quadling
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!
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
http://www.jello.me.uk/images/ldap.bmp
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
this line:
$dn = "ou=Pegasus Users,ou=IT,DC=abz,DC=pega
should be:
$dn = "ou=IT,ou=Pegasus Users,DC=abz,DC=pegasus,DC