Summary | Undefined index: writedn on line 529 of Horde/Group/Ldap.php |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de |
Created | 06/05/2014 (4046 days ago) |
Due | |
Updated | 06/05/2014 (4046 days ago) |
Assigned | |
Resolved | 06/05/2014 (4046 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | Horde_Group 2.0.4 |
Patch | Yes |
State ⇒ Resolved
Milestone ⇒ Horde_Group 2.0.4
commit 43d56faec442061cca5fd331fe26e3780531ff84
Author: Jan Schneider <jan@horde.org>
Date: Thu Jun 5 13:32:34 2014 +0200
[jan] Check for read-only LDAP configurations in removeUser()
(skhorde@smail.inf.fh-bonn-rhein-sieg.de,
Bug #13247).framework/Group/lib/Horde/Group/Ldap.php | 4 ++++
framework/Group/package.xml | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/43d56faec442061cca5fd331fe26e3780531ff84
access, then you try to remove user data via horde-remove-user-data,
you get:
bug #13248, if you try this patch in combinationwith horde-remove-user-data.
Priority ⇒ 1. Low
New Attachment: h5_removeUser-no-ro-check.diff.bz2
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Undefined index: writedn on line 529 of Horde/Group/Ldap.php
Type ⇒ Bug
State ⇒ Unconfirmed
access, then you try to remove user data via horde-remove-user-data,
you get:
HORDE: [horde] PHP ERROR: Undefined index: writedn [pid 31261 on
line 529 of "/usr/share/php/Horde/Group/Ldap.php"]
HORDE: [horde] PHP ERROR: Undefined index: writepw [pid 31261 on
line 529 of "/usr/share/php/Horde/Group/Ldap.php"]
HORDE: [horde] Could not delete attribute memberUid: Strong(er)
authentication required [pid 31261 on line 456 of
"/usr/share/php/Horde/Group/Ldap.php"]
Attached patch fixes the errors in the log by protecting removeUser() by
if ($this->readOnly()) {
throw new Horde_Group_Exception('This group backend is read-only.');
}
as done by the other write functions in this PHP file.