[prev in list] [next in list] [prev in thread] [next in thread]
List: php-general
Subject: Re: [PHP] ldap_add - Server is unwilling to peform
From: CHARLES HUNT <ch5082 () yahoo ! com>
Date: 2011-01-27 21:29:38
Message-ID: 726929.18017.qm () web81404 ! mail ! mud ! yahoo ! com
[Download RAW message or body]
I finally got it to create the user. I had to remove the "memberOf" attributes.
Apparently you have to add the User to the Group rather than the Group to the
User.
Now I need to figure out how to enable the user and set the password.
As well as adding the User to the desired Groups.
----- 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic