6.0.0-beta1
8/14/25

[#10367] 2 Exchange Accounts for different users on same Iphone will get identical sync data when synched with same Horde server
Summary 2 Exchange Accounts for different users on same Iphone will get identical sync data when synched with same Horde server
Queue Synchronization
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester Twilek (at) gmx (dot) de
Created 07/21/2011 (5138 days ago)
Due
Updated 07/24/2011 (5135 days ago)
Assigned 07/22/2011 (5137 days ago)
Resolved 07/24/2011 (5135 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/24/2011 03:32:59 PM Michael Rubinsky State ⇒ Not A Bug
 
07/23/2011 09:42:56 PM Twilek (at) gmx (dot) de Comment #12 Reply to this comment
I think I solved it. I had the exchange accounts setup with the 
serveradress pointing to www.mydomain.com/webmail/rpc.php
I then stumbledover the "Alias /Microsoft-Server-ActiveSync 
/var/www/horde/rpc.php" in the Wiki and implemented it accordingly. I 
then changed my setup so that the serveradress just points at 
www.mydomain.com and what can I say, things seem to work like a charm 
for now. I can sync contacts and calendars for 2 users without problems.

I dont know why not having the alias setup wreaks havoc on the sync 
but it does when you try do have 2 Exchange accounts, with one it 
works fine.

07/23/2011 06:31:19 PM Twilek (at) gmx (dot) de Comment #11 Reply to this comment
I turned Provisioning to "Disable". Reset the Activesync devices and 
resynced. It still synced the wrong adress book. But the Iphone forced 
me to use a new PIN Code after that ("Force device to usa a PIN" was 
set to "no"while provisioning was turned on). From there on the Phone 
wouldn´t let me use a simple code. Disabling the code was disallowed. 
Even deleting the offending Exchange account didn´t help. I had to 
turn provisioning back on ("Force device to usa a PIN" setting to 
"no"). After that the simple code option was back...
It looks like something is going wrong with the device provisioning 
between the two users.  Can you see if setting the:

* $conf[activesync][securitypolicies][provisioning]

value in the general horde configuration to "disable" fixes this for you?
07/23/2011 04:32:58 PM Michael Rubinsky Comment #10 Reply to this comment
It looks like something is going wrong with the device provisioning 
between the two users.  Can you see if setting the:

* $conf[activesync][securitypolicies][provisioning]

value in the general horde configuration to "disable" fixes this for you?
07/23/2011 04:24:52 PM Twilek (at) gmx (dot) de Comment #9 Reply to this comment
The problem also exists for calendar data. So if user 1 adress book 
gets synced its user1 calendar,too. When user 2 adresses get synced 
its also user 2s calendars...

[Show Quoted Text - 30 lines]
07/23/2011 04:18:50 PM Twilek (at) gmx (dot) de Comment #8 Reply to this comment
I turned of the caching in Horde resetted the Activesync devices in 
Horde rebooted the server and resynced the phone and the adress book 
of user 1 is back, but again for both users. At least it does not seem 
to be problem with the Horde caching.

[Show Quoted Text - 24 lines]
07/23/2011 04:06:02 PM Twilek (at) gmx (dot) de Comment #7 Reply to this comment
Something truly weird is happening. Without reconfiguring or resetting 
activesync devices in horde. I switched of all syncs on ios for user 2 
and turned sync of calendar and contacts on and off for user 1. Now 
user 1 gets the adress book of user 2 and not his own?! Resetting the 
activesync devices in horde and resyncing still gets my user 2 adress 
book... Does Activesync cache its sync data so that somehow the wrong 
cache is accessed?

[Show Quoted Text - 15 lines]
07/23/2011 02:45:57 PM Twilek (at) gmx (dot) de Comment #6 Reply to this comment
I have selected the personal adress book of user 1 for user 1 and the 
personal adress book of user 2 for user 2 for external sync. Both 
users do a proper sync request and get the personal adress book of 
user 1 and nothing else. I sent you the log via email. I gave up 
anonymizing it (and I don´t want to post it with personal data online) 
as it is multiple thousand lines long and I don´t know which parts are 
of interest for you.
Are you *sure* you have unselected the first user in the display 
options? I've tried this on 3 different iOS devices and 1 android 
device and it works as expected.

In the AS log, do you see the second user's SYNC requests? If you 
post the log I can take a look.
07/23/2011 01:47:19 PM Michael Rubinsky Comment #5 Reply to this comment
Are you *sure* you have unselected the first user in the display 
options? I've tried this on 3 different iOS devices and 1 android 
device and it works as expected.

In the AS log, do you see the second user's SYNC requests? If you post 
the log I can take a look.
07/23/2011 01:10:23 PM Twilek (at) gmx (dot) de Comment #4 Reply to this comment
There are no errors in the Activesync log. I have selected for user 2 
the  personal adress book for external sync. User 2 logs in without 
problems and Horde hands out User 1 adresses book?! No problems logged 
in the Horde log.

[Show Quoted Text - 12 lines]
07/23/2011 12:47:53 PM Twilek (at) gmx (dot) de Comment #3 Reply to this comment
I have iOS 4.3.4 and have just tried again and it still happens. User 
two gets User one data... I will now turn on Activesync logging and 
post any errors here....
I can't reproduce this on iOS 4.3

I added a second "Microsoft Exchange" account on the device, for a 
different user. After the sync was complete, selecting only the 
Group for the second account will show me only that account's 
information. Switching the Group to show only the first account, 
goes back to showing me only the first user's information.
07/22/2011 09:04:14 PM Michael Rubinsky Comment #2
Assigned to Michael Rubinsky
State ⇒ Feedback
Reply to this comment
I can't reproduce this on iOS 4.3

I added a second "Microsoft Exchange" account on the device, for a 
different user. After the sync was complete, selecting only the Group 
for the second account will show me only that account's information. 
Switching the Group to show only the first account, goes back to 
showing me only the first user's information.
07/21/2011 08:31:42 PM Twilek (at) gmx (dot) de Comment #1
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ 2 Exchange Accounts for different users on same Iphone will get identical sync data when synched with same Horde server
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
Mentioned in Ticket [#10363]:

I use an Ipone and sync to Horde with Activesync. If I have 2 Exchange 
Accounts on one phone which sync to the same horde server but with 
different users, the second user will get the sync data (contacts and 
calendar) of the first one. I don´t know whether that is a problem 
with horde or with iOS

Saved Queries