You could add a line in to your code:

include "ldap-blue-pill";

That should fix any performance issues ;)

(note, I did try posting earlier with a much funnier reply, but the email was 
rejected because of a certain 'v' word!) 


----- Reply message -----
Date: Wed, Jan 26, 2011 15:53
Subject: [PHP] ldap_add - Server is unwilling to peform
To: "Daniel Brown" <>
Cc: <>

Win 2000 Active Directory.

I'll give ldap_mod_add a shot.

----- Original Message ----
From: Daniel Brown <>
Sent: Wed, January 26, 2011 9:39:32 AM
Subject: Re: [PHP] ldap_add - Server is unwilling to peform

On Wed, Jan 26, 2011 at 10:17, CHARLES HUNT <> wrote:
> Hello-
> I am trying to add create a user account with the ldap_add function.  However 
> get the error below when it is invoked.  Does anyone have ideas what may be
> causing this error?  What I can look into?  Anything would be helpful.
> Warning: ldap_add() [function.ldap-add]: Add: Server is unwilling to perform
> in C:\xampp\htdocs\Infrastructure\al_ldap.php on line 354

    What LDAP server are you using (Active Directory, openLDAP,
iPlanet, eDirectory, et cetera)?  You may want to try swapping out
ldap_add() for ldap_mod_add().

</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to