#45477 [Bgs]: ldap_mod_del() fails to remove attribute

From: Date: Fri, 11 Jul 2008 15:59:51 +0000
Subject: #45477 [Bgs]: ldap_mod_del() fails to remove attribute
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-126494@lists.php.net to get a copy of this message
 ID:               45477
 User updated by:  alexis dot robert at gmail dot com
 Reported By:      alexis dot robert at gmail dot com
 Status:           Bogus
 Bug Type:         LDAP related
 Operating System: *
 PHP Version:      5.2.6
 New Comment:

I don't have any access to the LDAP server. I'll try to request them on
Tuesday (if I had them, it would be the first thing I would check).


Previous Comments:
------------------------------------------------------------------------

[2008-07-11 15:17:02] jani@php.net

Works -> Bogus.

------------------------------------------------------------------------

[2008-07-11 15:16:34] jani@php.net

Well, should you then check in the server logs WHY it doesn't want to
perform?

------------------------------------------------------------------------

[2008-07-11 15:16:29] alexis dot robert at gmail dot com

Hmmm ... you are right. Sorry, it works like this. I thought I have
tested this case.

Now I have a LDAP issue :)

Apologies.

------------------------------------------------------------------------

[2008-07-11 15:15:24] alexis dot robert at gmail dot com

It says :

REMOVE :
Warning: ldap_mod_del() [function.ldap-mod-del]: Modify: Server is
unwilling to perform in C:\wamp\www\bug.php on line 11

------------------------------------------------------------------------

[2008-07-11 15:01:04] jani@php.net

Have you tried this:

ldap_mod_del($cnx,$dn,array('userPassword' => array()));


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/45477

-- 
Edit this bug report at http://bugs.php.net/?id=45477&edit=1



Thread (14 messages)

« previous php.bugs (#126494) next »