Re: ldap_add - Server is unwilling to peform
| From: | ash@ashleysheridan.co.uk | Date: | Wed, 26 Jan 2011 16:08:05 +0000 |
| Subject: | Re: ldap_add - Server is unwilling to peform | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-311054@lists.php.net to get a copy of this message | ||
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!)
Thanks,
Ash
http://www.ashleysheridan.co.uk
----- Reply message -----
From: "CHARLES HUNT" <ch5082@yahoo.com>
Date: Wed, Jan 26, 2011 15:53
Subject: [PHP] ldap_add - Server is unwilling to peform
To: "Daniel Brown" <danbrown@php.net>
Cc: <php-general@lists.php.net>
Win 2000 Active Directory.
I'll give ldap_mod_add a shot.
----- Original Message ----
From: Daniel Brown <danbrown@php.net>
To: CHARLES HUNT <ch5082@yahoo.com>
Cc: php-general@lists.php.net
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 <ch5082@yahoo.com> wrote:
> Hello-
> I am trying to add create a user account with the ldap_add function. However
I
> 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().
http://php.net/ldap_mod_add
--
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php