|
Posted by andyt_2000_uk@yahoo.co.uk on 03/01/06 12:49
Hi,
Try checking out http://adldap.sourceforge.net
Its the class that i used to connect to Active Directory. It handles
authentications as well as lots of other things.
I can post some code later if that doesn't help you. There are some
examples in the downloads section of that site as well.
Andy
Frank F wrote:
> Hi,
>
> I want to read user information from the microsoft windows 2003 server.
>
> In the windows server 2003, i've create a domain, called "wissenskolleg".
> I've assigned a password to it.
>
> Now, i want get access to the Active Directory with PHP.
>
> My code:
> $ds=ldap_connect("wissenkolleg.com");
> $r=ldap_bind($ds,"administrator","psword");
>
> Always I've get the following error message: warning: ldap_bind(): For
> Unable ton bind tons of servers
> I've found out, that $ds always return: Resource id #2
> If i changed "wissenkolleg.com" in "whyitis", it is all the same, i've can
> only read: Resource id #2 and the same error with ldap_bind.
>
>
> I hope you can understand the problem. Any useful hint is welcome.
Navigation:
[Reply to this message]
|