6.0.0-alpha14
7/2/25

[#9343] Turba LDAP Driver: Only write attributes that have been changed - includes patch
Summary Turba LDAP Driver: Only write attributes that have been changed - includes patch
Queue Turba
Queue Version Git master
Type Enhancement
State Resolved
Priority 1. Low
Owners ralf.lang (at) ralf-lang (dot) de
Requester ralf.lang (at) ralf-lang (dot) de
Created 10/25/2010 (5364 days ago)
Due
Updated 09/11/2011 (5043 days ago)
Assigned 07/02/2011 (5114 days ago)
Resolved 09/11/2011 (5043 days ago)
Milestone
Patch Yes

History
09/11/2011 09:48:15 AM Ralf Lang State ⇒ Resolved
 
09/11/2011 09:47:27 AM Git Commit Comment #5 Reply to this comment
Changes have been made in Git for this ticket:

[rla] #9343 Turba LDAP Driver now only rewrites changed attributes

  2 files changed, 3 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/1e4fb5036ac08fdcdbc305aa1090c0f1ba2e0ef7
09/06/2011 10:32:01 AM Git Commit Comment #4 Reply to this comment
Changes have been made in Git for this ticket:

[#9343] Turba LDAP Driver: Only write attributes that have been 
changed - includes patch Port from horde3 - only marginally changed

  1 files changed, 13 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/a52937558d0c0b73c3e63d7832351f29ec3293ad
08/17/2011 12:32:57 PM Ralf Lang Comment #3 Reply to this comment
Do you plan to port this to H4?
Yes.
07/02/2011 04:02:01 PM Jan Schneider Assigned to Ralf Lang
 
07/02/2011 03:39:35 PM Jan Schneider Comment #2
Version ⇒ Git master
State ⇒ Assigned
Reply to this comment
Do you plan to port this to H4?
10/25/2010 07:13:41 AM Ralf Lang Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Turba LDAP Driver: Only write attributes that have been changed - includes patch
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ Yes
New Attachment: turba-ldap-selective-writing.patch Download
State ⇒ New
Reply to this comment
The current Turba LDAP Driver tries to write all attributes to the 
LDAP Backend, even if only some have been changed. While this doesn't 
matter performance wise it is a problem when the ldap addressbook bind 
user has only ACLs to edit some properties (Like assistent able to 
change all phone numbers in the company address book but not promote 
itself to manager or change names).

This results in not being able to save changes even when the forbidden 
attributes are unchanged or marked as readonly in attributes.php

The patch changes this behavior to only update the attributes when 
there is a change in them.

Saved Queries