You are here: Re: Access Active Directory (of WINDOWS SERVER 2003) via LDAP « PHP Programming Language « IT news, forums, messages
Re: Access Active Directory (of WINDOWS SERVER 2003) via LDAP

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация