<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="http://bugs.horde.org/themes/feed-rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>Vacation and forward conflict in SunOne LDAP schema</title>
  <pubDate>Sat, 05 Jul 2008 19:00:33 -0400</pubDate>
  <link>http://bugs.horde.org/ticket/6686</link>
  <atom:link rel="self" type="application/rss+xml" title="Vacation and forward conflict in SunOne LDAP schema" href="http://bugs.horde.org/ticket/6686/rss" />
  <description>Vacation and forward conflict in SunOne LDAP schema</description>

  
  
  <item>
   <title>I would like to explain a problem that affect all people tha</title>
   <description>I would like to explain a problem that affect all people that use forward and vacation modules together with LDAP driver.

In SunOne schema vacation and forward mechanism use the same attribute &quot;maildeliveryoption&quot;.

So, if a user set vacation lose forward setting, and vice versa. Because if I set a module I change maildeliveryoption not only on interested value, but rewriting all its values.

Let me explain with an example:

Let be that attribute which contains the vacation status and forward status is the same: maildeliveryoption.
A user set a forward:
ldap driver set maildeliveryoption adding &quot;forward&quot; value.
Then the same user also set vacation:
ldap vacation driver instead to *add* &quot;autoreply&quot; value to maildeliveryoption, *replace* it with &quot;autoreply&quot; value. So user lose the &quot;forward&quot; value previously set.

See also http://bugs.horde.org/ticket/6523

I know that this should be a particular condition of SunOne, but all environments that use same multivalued attribute to set vacation and forward could be affected. It is also true that these LDAP drivers should only modify single value of multivalued attribute, instead of replacing attribute at all, without preserve other values.

What do you think? A fix to this behavior should be very appreciate.
I thank you very much
Best Regards</description>
   <pubDate>Fri, 09 May 2008 03:12:15 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6686#t45201</link>
  </item>
  <item>
   <title>This isn't totally unique to LDAP.  If you use the .forward </title>
   <description>This isn't totally unique to LDAP.  If you use the .forward setup for vacation and
forwards, they also overwrite eachother since they use the same .forward file
and don't really know about each other (as well as any other uses of the .forward
file).

To fix this, you would need &quot;intellegent&quot; parsing of the contents of the field/file/etc
so as to &quot;update&quot; it intellegently rather than simply replacing or removing the
contents.  Doing such work reliably may be problematic depending on the
contents of the field and how it can be updated by other sources, etc.

Maybe it is better to focus on Ingo for such advanced settings, rather than continuing
such complex work on Sork?

IMHO, in order to implement the requested feature, we would need to know all
possible values of maildeliveryoption and what the syntax of the contents is.
Then build something which understands that syntax and knows the options,
and can manipulate them in a safe way.  Doing that for LDAP is probably
much easier than for a .forward file, but you still never know if some other
software might use the maildeliveryoption in a non-standard way or something.
</description>
   <pubDate>Fri, 09 May 2008 12:54:13 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6686#t45210</link>
  </item>
  <item>
   <title>I would try to explain better about LDAP. I don't think it i</title>
   <description>I would try to explain better about LDAP. I don't think it is necessary to know all possible values of attribute used by forward/vacation. It's only necessary that driver acts only on values related to working mechanism.

For instance, If vacation module set attribute maildeliveryoption to &quot;autoreply&quot;, when I unset vacation, driver should only delete value &quot;autoreplay&quot; of maildeliveryoption, leaving other values unchanged. &quot;ldap_mod_del&quot; permits deletion of single attribute value, I suppose. At the same, I could add value to attribute leaving its other values unchanged.

I apologize if I don't explain better.
Thank again
Regards
 </description>
   <pubDate>Tue, 13 May 2008 08:17:21 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6686#t45257</link>
  </item>
  

 </channel>
</rss>
