|
Posted by Michael Schδffer on 01/08/07 08:01
Hello,
my english is not so good.
I want to use the users of our active directory in the intranet for a portal
page.
i dont know how to authenticate?
$server = "xxx-xx.de.xx.com";
$connectid = @ldap_connect($server);
is ok.
$binding = @ldap_bind($connectid) or die("Error");
echo "ok";
is still ok.
if i use my username an password i get Error
$binding = @ldap_bind($connectid,$username,$password) or die("Error");
i dont understand this $basedn thing, for example in the search funtion.
$search = @ldap_search($connectid,$basedn,$filter);
$basedn = "ou=User,dc=ho,dc=de";
where can i finde the values for ou= dc= an c= and so on.
Michael Schδffer
[Back to original message]
|