<?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>address book config not honored</title>
  <pubDate>Fri, 29 Aug 2008 20:38:43 -0400</pubDate>
  <link>http://bugs.horde.org/ticket/6429</link>
  <atom:link rel="self" type="application/rss+xml" title="address book config not honored" href="http://bugs.horde.org/ticket/6429/rss" />
  <description>address book config not honored</description>

  
  
  <item>
   <title>I have two address books configured in turba, localsql (the </title>
   <description>I have two address books configured in turba, localsql (the user's addressbook, stored in a MySQL database) and myldap, a shared, read-only company address book.

I added
$_prefs['search_sources'] = array ('value' =&gt; &quot;localsql\tmyldap&quot;, ...); 
to the kronolith configuration.
However, when a user logs in, only the LDAP database is searched.
The preferences only show the LDAP address book as selected, the user's addressbook is not selected (it is shown in the left list).

When I add the address book to the list of sources to search, and then query the horde_settings in the SQL database, search_sources is set to
myldap            longhexaluehere
I suppose the second value is the unique id of the user's personal address book.

After manually selecting the address book for the user, the address books are searched correctly (which is important for free/busy information which cannot be found otherwise).

</description>
   <pubDate>Wed, 12 Mar 2008 05:06:34 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6429#t43735</link>
  </item>
  <item>
   <title>This is correct.  You are probably using &quot;shares&quot; in your lo</title>
   <description>This is correct.  You are probably using &quot;shares&quot; in your localsql configuration.  With shares enabled, you cannot force-set the prefs like you attempting to do since, as you found out, the default personal address book has a unique name for each user.  Either turn off share support, or leave the pref blank in the config.

For further support, please use the appropriate mailing list.</description>
   <pubDate>Wed, 12 Mar 2008 10:08:46 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6429#t43744</link>
  </item>
  

 </channel>
</rss>
