473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Access Active Directory (of WINDOWS SERVER 2003) via LDAP

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.

Feb 28 '06 #1
1 4966
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.


Mar 1 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: David W. Fenton | last post by:
Does anyone know of any Windows API calls to get to Active Directory organizational unit information? I searched for this a while back and found nothing. It would be a great thing if I could get to...
0
by: Charles Leonard | last post by:
I am having yet another issue with Windows Server 2003. This time, the web service (a file import web service) appears to run except for one odd message: "ActiveX component can't create object". ...
0
by: KeithZ | last post by:
I have created a very simple vb.net web service. It works fine on my local machine and every other machine I have installed it on. For the life of me I cannot get it to work on my production...
4
by: klynn | last post by:
Hi: I'm having problems reading a Microsoft Access file from my ASP.Net app on a Windows Server 2003 machine. The error message: The Microsoft database engine cannot open the file, <my_file>. It...
0
by: william_dudek | last post by:
Recently I migrated a website to a web farm running windows server 2003 and started getting the following error message. "The (anr=) search filter is invalid." The site worked fine on the other...
2
by: =?Utf-8?B?SDIw?= | last post by:
I'm having a problem with the access control in windows server 2003. I have set in our server that user can access, modify, read and write folders/files but not able to delete folders, subfolders...
2
by: Dabulsta | last post by:
I am trying to design a network using Windows Server 2003 Active Directory infrastructure for the following company(below) and I was wondering if there was some sort of walk through available to...
0
JamieHowarth0
by: JamieHowarth0 | last post by:
Hi guys, Up until 3 weeks ago I was running a Microsoft Windows Server 2003 R2 Enterprise Edition Beta from home on an ADSL connection with dynamic IP absolutely fine - until the beta decided to...
2
blyxx86
by: blyxx86 | last post by:
Hey Everyone, I'm currently trying to recover from a server breach (when I was put in charge of the server there was no AV and no firewall for about 4 months before). It appears that the server has...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.