Hi all. I've never really used LDAP before, but I'd like to be able to get PHP to commune with ActiveDirectory using LDAP as the medium. Here is the code I'm using:
<?php
$con = ldap_connect("ldap://ALPHA.RB.NET");
if($con)
{
$bind = ldap_bind($con);
$dn = "DC=alpha,DC=rb,DC=net"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.