6.0.0-beta1
7/7/25

[#6429] address book config not honored
Summary address book config not honored
Queue Kronolith
Queue Version 2.2-RC2
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester Michael.Redinger (at) uibk (dot) ac (dot) at
Created 03/12/2008 (6326 days ago)
Due
Updated 03/12/2008 (6326 days ago)
Assigned
Resolved 03/12/2008 (6326 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/12/2008 02:08:46 PM Michael Rubinsky Comment #2
State ⇒ Not A Bug
Reply to this comment
This is correct.  You are probably using "shares" 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.
03/12/2008 09:06:34 AM Michael (dot) Redinger (at) uibk (dot) ac (dot) at Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ address book config not honored
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
Reply to this comment
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' => "localsql\tmyldap", ...);

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).




Saved Queries